Skip to content

Commit 3956738

Browse files
committed
Create zip_readme.md
1 parent 2880813 commit 3956738

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

script_using_ZIP/zip_readme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Package/Script Name
2+
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.
3+
4+
syntax of using zip:
5+
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.
6+
7+
Output
8+
https://colab.research.google.com/drive/1fzVxXHEywdIx4BJu2ImN0mbC-gDR0UGJ?authuser=3#scrollTo=gfucILwOb9CF
9+
10+
Author(s)
11+
vaishnavi jha(SWOC)
12+

0 commit comments

Comments
 (0)