7
Spent 6 months learning Python before I found out what 'indentation' actually meant
My code kept throwing errors and I thought the interpreter was broken, then a guy on Reddit pointed out all my spaces were different sizes and I felt like the biggest idiot alive, has anyone else missed something so basic that it took a stranger to fix it?
2 comments
Log in to join the discussion
Log In2 Comments
paulperez25d ago
I thought the interpreter was broken" is hilarious because I've been there with a completely different problem. Spent three days debugging a CSS layout issue only to find out I forgot a semicolon. Sometimes you just need someone else to point out the obvious before you can see it.
1
lunashah25d ago
@paulperez that semicolon thing would've wrecked my whole week too. But honestly, forgetting indent is on another level - I spent six months writing Python like it was freeform poetry before someone on Stack Overflow basically told me to go back to kindergarten.
-1