iterate over 2 lists of different length python code example Example: looping through two lists python for f, b in zip(foo, bar): print(f, b)