IndentationError: unindent does not match any outer indentation level

后端 未结 30 2035
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:38

    If you are using Sublime text for python development,you can avoid the error by using the package Anaconda.After installing Anaconda,

    1. open your file in sublime
    2. right click on the open spaces
    3. choose anaconda
    4. click on autoformat
    5. DONE Or Press CTRL+ALT+R.

提交回复
热议问题