T
9

Spent two hours on a missing semicolon in my first Python script.

Was trying to make a simple number guesser. The code looked right but kept crashing. I read every line ten times. Finally, my friend in Chicago spotted it on a video call. A missing colon after an 'if' statement. Has anyone else lost a whole evening to a tiny syntax error like that?
2 comments

Log in to join the discussion

Log In
2 Comments
grace_chen
grace_chen18d ago
Read a story where a misplaced comma cost NASA millions.
4
the_patricia
That story gets passed around a lot. I always figured if a single comma could really cost that much, the problem was way bigger than punctuation. It means the whole system for checking the work was broken. They probably had layers of people who should have caught it. Blaming a comma is just a simple story for a complex failure.
0