Articles → Python → Zip Function In Python

Zip Function In Python






Purpose





Example


list1 = ['A', 'B', 'C']
list2 = [1,2,3]

print(list(zip(list1,list2)))

Output


Picture showing the output of zip function in python



Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, April 24, 2019

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250