IndentationError: unindent does not match any outer indentation level

后端 未结 30 2023
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:22

    Are you sure you are not mixing tabs and spaces in your indentation white space? (That will cause that error.)

    Note, it is recommended that you don't use tabs in Python code. See the style guide. You should configure Notepad++ to insert spaces for tabs.

提交回复
热议问题