💡
2
c/coding-for-beginners•wesleyb20wesleyb20•27d ago

Can we talk about learning Python loops by actually building something small?

I was stuck on for loops for a week, just reading the same tutorials. Then I forced myself to make a tiny program that printed a 10x10 grid of asterisks, and it finally clicked. Some people say you should master the theory first, but I think jumping into a simple project is better. What's the first little program you built that made a concept stick?
3 comments

Log in to join the discussion

Log In
3 Comments
miller.rowan
Read that in a blog post once... totally agree.
1
gibson.avery
Honestly, I had the opposite experience. Reading about loops in a blog just made it click for me before I even tried to code one. The plain English explanation of the "while this is true, do this" logic was all I needed.
5
evanc59
evanc5927d ago
My textbook loops made no sense until I built a number guessing game.
-1