#Mixed use of taps and space

1 messages · Page 1 of 1 (latest)

hoary plaza
#

Common error that happens to me and I don't know how to fix it. Sometimes I rewrite the same code multiple times to fix it. I tried to search fix on reddit and they said it realted to number of taps or that there multiple small arrow before if statement. But I checked and I quite literally have the same amount of small arrows. Tag me when you reply so I notice the message

fossil notch
#

@hoary plaza the error is quite descriptive, to indent you must either use tab or either space, use a mix of the two can cause issues and therefore there's an error in place to prevent them

#

just stick to either tabs or spaces for indentation

hoary plaza
fossil notch
#

like, i said, just stick to one

hoary plaza
#

Okay thanks mate

fast frost
#

tabs ftw.. one keypress instead of multiple ;)

silver sigil
#

Could not imagine using space for indenting. Tab is the way.