python iterate list 2 by 2 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)