Zip Function Flashcards
1
Q
What is the syntax for the zip function?
A
Zip(*iterables)
2
Q
Zip function:
A
Aggregate elements from two or more iterables (lists, tuple, dictionaries etc.) creates a zip object with paired elements stored in tuple for each element
3
Q
How could you put your zip function into a dictionary?
A
Dictionary = dict(zip(……