Articles → Python → Zip Function In PythonZip Function In PythonIn this article, we will discuss the zip function in Python.Purpose The zip function combines 2 lists and converts them into a tuple.Example list1 = ['A', 'B', 'C'] list2 = [1,2,3] print(list(zip(list1,list2)))Output Posted By - Karan Gupta Posted On - Wednesday, April 24, 2019 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
list1 = ['A', 'B', 'C'] list2 = [1,2,3] print(list(zip(list1,list2)))
Query/Feedback