T
21

Tbh, my whole Python script crashed because I forgot a colon after a for loop last Tuesday.

Honestly, I spent like an hour staring at the error message before I finally spotted it, which is pretty funny now but was super frustrating at the time, anyone else have a simple typo that totally wrecked your day?
2 comments

Log in to join the discussion

Log In
2 Comments
jenny_carr52
That missing colon, @hugo_coleman28. Been there.
7
hugo_coleman28
Oh man, that reminds me of when I mixed up a single equals sign with a double equals in an if statement. The program kept running but gave me the weirdest, most wrong results for a data check. Took me all afternoon to trace it back to that one character. What was your error message saying?
4