Answers for "zip in pytohn"

2

zippython

l1 = [1, 2, 3]
l2 = ['a', 'b', 'c']
list(zip(l1, l2))
#-> [(1, 'a'), (2, 'b'), (3, 'c')]
Posted by: Guest on May-27-2021

Python Answers by Framework

Browse Popular Code Answers by Language