Python Programming - Loops - Discussion

Discussion Forum : Loops - General Questions (Q.No. 13)
13.
What does the zip function do when used with loops?
Combines multiple sequences into tuples.
Iterates over the values of a sequence.
Reverses the order of iteration.
Checks for equality of elements in multiple sequences.
Answer: Option
Explanation:
The zip function combines multiple sequences into tuples, allowing you to iterate over corresponding elements from each sequence simultaneously.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.