Question: PYTHON 3..please help and explain using comments zip - zip two lists into a list of 2-tuples 1- def zip(a, b): Write a recursive function
PYTHON 3..please help and explain using comments

zip - zip two lists into a list of 2-tuples 1- def zip(a, b): Write a recursive function zip(a,b) where a and b are lists. zip(a,b) returns a list of 2-tuples where the first tuple is (a 01,bI0]), the second is (a[1],b[1]), etc # your code here Zipping stops when the shorter list runs out. For example if len (a) is 3 and len (b) is 5 then len (zip(a,b)) is 3 Programming Requirements Solve this problem using recursion. You are allowed to use only the following programming constructs if statements; . return statements; * assignment; recursive function calls (if you use any helper functions then these must all be recursive as well); comparison operations!, etc.) list indexing and slicing; list concatenation/extension. Solutions that go outside these constructs, e.g., by using for/while loops or list comprehensions, will not get credit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
