IndentationError: unindent does not match any outer indentation level

后端 未结 30 2026
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:27

    Just a addition. I had a similar problem with the both indentations in Notepad++.

    1. Unexcepted indentation
    2. Outer Indentation Level

      Go to ----> Search tab ----> tap on replace ----> hit the radio button Extended below ---> Now replace \t with four spaces

      Go to ----> Search tab ----> tap on replace ----> hit the radio button Extended below ---> Now replace \n with nothing

提交回复
热议问题