Aww, zip is great! for x,y in zip(['a', 'b', 'c'], ['1', '2', '3']): print(x + y) >>'a1' >>'b2' >>'c3' Usually you just use it to group two items you're iterating through that are the same length. You CAN do items of…
Aww, zip is great! for x,y in zip(['a', 'b', 'c'], ['1', '2', '3']): print(x + y) >>'a1' >>'b2' >>'c3' Usually you just use it to group two items you're iterating through that are the same length. You CAN do items of…