python iterate over two elements in lists one after another code example Example: looping through two lists python for f, b in zip(foo, bar): print(f, b)