14
My first Python program actually worked on the third try
I've been learning Python for about 3 weeks now and last Tuesday I finally got my little calculator program to run without any errors. It just adds two numbers together, but seeing "Enter a number" pop up on my screen made me so happy I actually cheered. My cat looked at me like I was crazy. Has anyone else had that moment where something simple clicks and it feels like a huge win?
3 comments
Log in to join the discussion
Log In3 Comments
hugoh5520d ago
Know exactly what you mean. That first time you see your own code do what you told it to do, it's a real feeling of accomplishment. I remember teaching myself basic HTML back in the dial-up days and spending an hour trying to get a picture to show up on a page. When it finally did, I sat back and grinned like a fool. The cat didn't care either, but that's cats for you. That calculator is a solid first step, and three tries is pretty good going. You should be proud of it.
8
pat_coleman20d ago
That feeling of "Enter a number" popping up is pure gold. I remember my first working program was a little script that just printed "hello" and I sat there staring at it like I'd just solved world hunger. Three tries is actually really good, my first Python thing took me like five or six tries because I kept forgetting colons. What are you planning to build next with your newfound calculator skills?
7
lopez.simon18d ago
Three tries is solid. I notice the same pattern working on cars. First time you fix something simple like a loose bolt it takes forever. But after that you start seeing how parts connect. @hugoh55 is right about how code and real world stuff works the same way. Everything builds on the last thing you learned. My buddy spent two hours trying to unclog a drain then fixed a sink in ten minutes the next week.
2