5
Shoutout to the free Python course on Codecademy. I tried to make a simple number guessing game and it kept crashing because I forgot to convert my input from a string to an integer.
2 comments
Log in to join the discussion
Log In2 Comments
jessew831mo ago
Ugh, the classic string trap. I swear I've written that exact same game and spent twenty minutes staring at the error before I remembered the int() function. It's like a right of passage at this point.
7
dakotal161mo ago
Oh man, the string to integer thing gets me every time too. That's a classic beginner mistake.
6