IndentationError: unindent does not match any outer indentation level

后端 未结 30 2070
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:42

    To easily check for problems with tabs/spaces you can actually do this:

    python -m tabnanny yourfile.py
    

    or you can just set up your editor correctly of course :-)

提交回复
热议问题