how to iterate two lists at once python 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)