TabError

TabError: inconsistent use of tabs and spaces in indentation

Problem: indentation is mixed by tabs and spaces in the same code

Solution: replace all tabs by 4 spaces

Python 3 does not allow mixing of tabs and spaces, spaces are the preferred indentation method.

https://www.python.org/dev/peps/pep-0008/#tabs-or-spaces