-4

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.

vaultah
  • 44,105
  • 12
  • 114
  • 143
Anuraag
  • 3
  • 2
  • 2
    Possible 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 Answers1

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)