0
How can I avoid frequent Python indentation errors?
Indentation errors
5 Antworten
+ 12
good point Anna , ... and, it's alternately : )
+ 10
Can you give us an example of indentation error you get ?
+ 7
It's a word, Anna. 🙂
Don't mix tabs and spaces, stick to one width.
+ 6
Use ide and add extension code snippets and stuff... Google it
+ 4
Pick a fix amount of indentation (usually four spaces) and stick with it. In one of your codes, you use 2 and 5 spaces alternatingly (<= is that a word?). That's usually not a good idea