Quote Originally Posted by Kokoys
I know this will get me a facepalm or something but I'm really new to programming, I added this and I got an endless loop output
With nested loops, each loop should have its own counter variable.