python loop through 2 lists at once 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)