Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 728 Bytes

zip_readme.md

File metadata and controls

12 lines (8 loc) · 728 Bytes

Package/Script Name Python’s zip() function creates an iterator that will aggregate elements from two or more iterables. You can use the resulting iterator to quickly and consistently solve common programming problems, like creating dictionaries.

syntax of using zip: Python’s zip() function is defined as zip(*iterables). The function takes in iterables as arguments and returns an iterator. This iterator generates a series of tuples containing elements from each iterable. zip() can accept any type of iterable, such as files, lists, tuples, dictionaries, sets, and so on.

Output https://colab.research.google.com/drive/1fzVxXHEywdIx4BJu2ImN0mbC-gDR0UGJ?authuser=3#scrollTo=gfucILwOb9CF

Author(s) vaishnavi jha(SWOC)