Sign up for Free !!
World's first open source developer community with
Ticketing System
Consider two lists like:
L1=[13,12,0,29,5] L2=[19,23,1,29,10]
Now I want the output as:
L3=[(13,19),(12,23),(0,1),(29,29),(5,10)]
How can I get that........
L1=[13,12,0,29,5] L2=[19,23,1,29,10] print(list(zip(L1, L2)))
This is the required code.......
Please Login/Register to write your answer !!!
This is the required code.......