how to iterate through two lists in python map zip code example Example: looping through two lists python for f, b in zip(foo, bar): print(f, b)