IndentationError: unindent does not match any outer indentation level

后端 未结 30 2086
Happy的楠姐
Happy的楠姐 2020-11-21 07:48

When I compile the Python code below, I get

IndentationError: unindent does not match any outer indentation level




        
30条回答
  •  后悔当初
    2020-11-21 08:32

    If you use Komodo editor you can do as it suggests in one of similar error messages:

    1) select all, e.g. Ctrl + A

    2) Go to Code -> Untabify Region

    3) Double check your indenting is still correct, save and rerun your program.

    I'm using Python 3.4.2

提交回复
热议问题