for loop'' with two variables python code example
Example 1: multiple values in python loop for x,y
for x, y in zip(a, b):
print x, y
Example 2: multiple variables in for loop python
for i, j in zip(range(x), range(y)):
# Stuff...
for x, y in zip(a, b):
print x, y
for i, j in zip(range(x), range(y)):
# Stuff...