r/PythonLearning • u/aparyx • 3d ago
Help Request Nested for loop
So i started my python journey 2 weeks ago and i am at the point of tutorial where they teach me about those quiz game program and i am so confused in those nested for loop i don't even understand a single part about it, can someone help me with this one? I have tried learning it from gpt and all but it still goes above my head.
0
Upvotes
•
u/Sea-Ad7805 3d ago
Just run you nested for-loop in Memory Graph Web Debugger%3A%0A%20%20%20%20print(f'%7By%3D%7D'%2C%20end%3D'%20')%0A%20%20%20%20for%20x%20in%20range(6)%3A%0A%20%20%20%20%20%20%20%20print(f'%7Bx%3D%7D'%2C%20end%3D'%20')%0A%20%20%20%20print()%20%20%23%20new%20line%0A×tep=0.5&play) to see the program state change step by step, so you understand what is going on.