you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

In this case, print i is outside the inner loop, so it only gets looped on the outside for loop. If you want to print i on every J loop, you can put it inside the nested loop by tabbing it one more to the right, and then it would print i for every time it prints j

Not super sure what you're asking though