S
22

I finally got my first Python script to run without errors after three days of trying.

Last week, I was stuck on a loop that kept printing forever until a friend in Seattle told me to check my indentation, and it worked on the very next try, so what's the one small bug that took you way too long to fix?
3 comments

Log in to join the discussion

Log In
3 Comments
caleb262
caleb26222d ago
What was the actual logic error in your loop? I spent a whole afternoon once because I used a single equals sign in an 'if' statement instead of a double.
5
troy_bennett90
My buddy had a bug like caleb262's, but with a missing colon after his for loop.
4
the_cameron
the_cameron16d agoMost Upvoted
Missing the colon is a classic. Did your buddy's code just crash, or did it do something weird before failing?
9