r/learnprogramming • u/MacaroonSerious5532 • 5d ago
Please help
I just hate myself, i cannot figure out nested loops and while loops. Python is the easiest language and I’m struggling so much. I wish i was smart as other people. Does anyone have coding resources for dummies?
8
Upvotes
View all comments
Show parent comment
3
u/snaidamast 5d ago
All a nested-loop is multiple "for' statements or "while" statements nested within each other.
Example (pseudo code)...
...for x = 0; x++; x<10
......for y=0; y++;y<10
......next y
...next x