Sign in
Log inSign up

Is it bad that it took me 2~2.5 hours to write a number guessing game in Python?

Tabi's photo
Tabi
·Jan 31, 2017

Specifically, it prompts the user for a number and it tells them if their number is too high, too low, or not in the range asked for, as well as what the worst guess is, how far away that guess was from the correct number, and the amount of times the user made a guess.

The entire time I did not feel like giving up nor did I get bored, I was just trying figure out how to satisfy all the requirements. I didn't get help or look for help, I was just wracking my brain and trying to find out what worked. And when I finally managed to complete it, I felt so accomplished and satisfied. I was so into it that I didn't notice that about 2~2.5 hours passed by and I only wrote about 40 lines of code.

For a newbie, is that a bad sign? Or was that how it was for everyone and you just get better and faster over time?

Edit: Thank you all for the words of encouragement!

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct