T
29

Why does no one mention how tricky Python indentation is?

I was working through a basic loop last night (just a for loop, nothing crazy) and kept getting errors for like 20 minutes. Turns out I had mixed tabs and spaces without realizing it. That tiny mistake broke everything and I felt so dumb. Has anyone else here gotten tripped up by indentation rules when starting out?
1 comments

Log in to join the discussion

Log In
1 Comment
aaron_gonzalez
Wait, you mixed tabs AND spaces? That's like using a fork to eat soup.
7