Answers for "how to go through two for loops in the same time python"

22

python loop two

for f, b in zip(foo, bar):
    print(f, b)
Posted by: Guest on March-30-2020
1

2 for loops at the same time in Python

for i, j in zip([1,2,3], [3,2,1]):
    print i, j

for i, j in zip(f_iterate1(), f_iterate2()):
    print i, j
Posted by: Guest on April-03-2022

Code answers related to "how to go through two for loops in the same time python"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language