Zip Function Flashcards

1
Q

What is the syntax for the zip function?

A

Zip(*iterables)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How could you put your zip function into a dictionary?

A

Dictionary = dict(zip(……

How well did you know this?
1
Not at all
2
3
4
5
Perfectly