Ask coding questions

← Back to all posts
Inconsistent use of tabs and spaces
AleksaTodorovi (2)

I've been working on my mathematics assistant and it worked fine. But after an hour of me not doing anything it started giving out the tab error. I know that this is easy to fix on IDLE but I couldn't find the untabify option on Someone please help I don't want this to go to waste it took too long to make (I'm still a beginner btw)

Answered by Bookie0 (6294) [earned 5 cycles]
View Answer
Bookie0 (6294)

hey, i see you have a big problem. also your code seems a bit hard to read, mostly because everything is squished up. i suggest you fork the repl, and restart/try to correct everything. you'll see, it wont take that long.

or if you want, i can try to do it for you (i can try)...

hope this helps! =)

AleksaTodorovi (2)

@Bookie0 thanks for the offer but since im farely new to coding i would like to try and get this done by myself but if i ever need help ill contact you. (also i know that i should probably organise it a little better but i first want to get atleast some functionality done)

Bookie0 (6294)

ok sure if you have questions feel free to ask me!

please mark this asnwer as correct if it helped you =) @AleksaTodorovi

Muffinlavania (1526)

1) How to untab a line is you highlight that line, then hit Shift+Tab
2) If you need help, you can share someone into your project, and they will help you(I would suggest not sharing ANYONE into your project, you should at least trust them)