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



Click to Enlarge


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

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250