I'm using enter image description herepython 3.4.1 and after coding a simple calculator i got Error inconsistent use of tabs and spaces in indentation please help me out.
Asked
Active
Viewed 858 times
-4
-
2Possible duplicate of ["inconsistent use of tabs and spaces in indentation"](http://stackoverflow.com/questions/5685406/inconsistent-use-of-tabs-and-spaces-in-indentation) – jotik Apr 03 '16 at 14:49
-
error comes at elif user_input == "multi": – Anuraag Apr 03 '16 at 14:50
1 Answers
0
Depending on your ide, you can find the "detab" option on one of the menus. Select the entire script and press detab. Select 4 as your tab length and you'll be alright. As a rule of thumb, don't mix tabs and spaces. Preferably use only whitespace (PEP 8)

user6152158
- 16
- 1