// LOOPING SIMULTANIOUSLY for (i,j) in zip(range(12,20),range(22,30)): print(i,j)
Here is what the above code is Doing:
1. The zip() function takes two iterables and returns an iterator of tuples.
2. The for loop takes each tuple returned by the zip() function and assigns the first value to i and the second value to j.
3. The loop then prints the values of i and j.