iterate over 2 arrays python code example Example: python for with two arrays for f, b in zip(foo, bar): print(f, b)