Send your homework as a single ZIP archive with your files, or send a link to your GitHub repo. Try to keep line lengths below 80 characters.
Create a function find_axis(v1, v2) which returns the unit vector v3, where v3 is perpendicular to the vectors v1 and v2. If the vectors v1 and v2 are parallel (or zero) then the function should raise an exception (ValueError) [Hint: v1 and v2 are parallel if the cross product v1 × v2 is zero]. Vectors are instances of the Vector class from Homework 6.
Create the following infinite iterators:
(a) returning 0, 1, 0, 1, 0, 1, ...,
(b) returning randomly 0 or 1 on demand,
(c) returning 0, 1, 0, -1, 0, 1, 0, -1, ...