D
25

My first real program ran without errors today

Three months ago, I started a free online Python course. I was stuck on loops for a whole week. Yesterday, I finally wrote a script that takes a list of numbers and prints only the even ones. I ran it and the console just showed the right numbers, no red text. It felt amazing after so much struggle. Has anyone else had a moment where something just clicked?
2 comments

Log in to join the discussion

Log In
2 Comments
king.zara
king.zara9h ago
Totally get that feeling. I spent ages on a simple calculator, and when it finally worked I just stared at the screen. That first clean run is the best.
5
kevin_schmidt97
Stared at my own first working loop for a solid five minutes like it was modern art. Then I immediately broke it trying to add a "clear" button. My code's greatest hits include a login form that let you in with just a space and a to-do list that deleted random items. That clean run is a brief, beautiful lie before the next bug shows up.
5