🐿️
14

Spent $60 on a 'Python for Dummies' book and my cat chewed up the chapter on loops lol

3 comments

Log in to join the discussion

Log In
3 Comments
shah.matthew
Used to hate loops, now I get them.
1
diana87
diana872mo ago
Oh man, that's the best feeling. It's like your brain finally builds the muscle for a certain kind of puzzle. For me, it clicked when I stopped trying to hold the whole loop in my head at once and just focused on what it does this one time. Then you see the pattern build itself.
4
grayt46
grayt461mo agoMost Upvoted
I read this article once where a teacher said to treat a loop like a recipe you follow over and over. You don't memorize the whole meal, you just do step one, then step two, then repeat. That shift from seeing the whole thing to just the single step made it fall into place for me too. It stops being this big scary block of code and starts being a simple, repeatable action. Your brain can relax because it only has to understand the one tiny task. Then the magic happens when you watch it run and see the result pile up.
4