When I compile the Python code below, I get
IndentationError: unindent does not match any outer indentation level
For Spyder users goto Source > Fix Indentation to fix the issue immediately