📢
13
c/coding-for-beginners•king.lisaking.lisa•22d ago

My first program ran 100 times without a single error

I was just messing around with a basic Python script that prints a countdown (you know, the kind you see in every tutorial). I set it to loop 100 times as a test, fully expecting it to crash halfway. I hit run and just watched the console. It went from 100 all the way down to 1, perfect every time. It felt like a real win because before this, my code always had a typo or a missing colon. Has anyone else had a small win like that when you were just starting out?
3 comments

Log in to join the discussion

Log In
3 Comments
paigew35
paigew3522d ago
I used to think coding was just about fixing errors forever. Then I got a simple weather API call to work on the first try last month. It pulled the exact temperature for my town, no tweaks needed. That one clean run made me feel like I finally understood the basics.
8
reese_singh87
reese_singh879d agoMost Upvoted
Was it really that big of a deal though?
7
skyler_white95
Totally get that feeling. My first clean run was a simple tip calculator. I must have messed up the math five times before it finally worked. Watching it spit out the right number for different checks felt like magic. Those early wins keep you going when stuff gets harder later.
-1