1
PSA: I tried to make a simple number guessing game in Python and it just kept printing the same wrong answer over and over.
Turns out I put the random number generator inside the loop, so it picked a new target every single guess, and I only figured it out after staring at my screen in a coffee shop for like 45 minutes.
3 comments
Log in to join the discussion
Log In3 Comments
elizabeth_martin27d ago
Read that's a classic beginner mistake.
10