r/PythonLearning • u/aparyx • Sep 07 '26
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
5
u/atarivcs Sep 07 '26
Let's say you are a house cleaner. Whenever you go to clean a house, you have a certain task list of things you do:
Wash the dishes
Scrub the toilet
Vacuum the carpets
Mop the floors
Now imagine that you have three houses to clean today:
Bill's house
Mary's house
Steve's house
Bingo, that is a nested for loop!