Ask coding questions

← Back to all posts
inconsistent uses of tabs and spaces
AarohanSaha (0)

Line 29:
pokemon = get_pokemon()
^
TabError:inconsistent uses of tabs and spaces

How to fix this?

Comments
hotnewtop
Bookie0 (6262)

When I get that error, I usually highlight everything by typing cmd-a/ctrl-a, then pressing tab, and shift-tab, which indents everything, and un-indents it back.

Then it should work! :)