Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = ['first','second','third']
- y = ['david','peter','james']
- for i,j in x,y:
- print "%s : %s \n" %(i,j)
- #i want/expect
- first:david
- second:peter
- third:james
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement