for i in a for j in a loop python

for i, j in zip(range(x), range(y)):
  ...

Here is what the above code is Doing:
1. We create a list of integers from 0 to x-1.
2. We create a list of integers from 0 to y-1.
3. We use the zip function to combine the two lists into a list of tuples.
4. We iterate over the list of tuples and print out each tuple.

The output of the code will be:
(0, 0)
(1, 1)
(2, 2)
(3, 3)
(4, 4)

If you want to iterate over two lists at the same time, you can use the zip function.