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