IndentationError: unindent does not match any outer indentation level

后端 未结 30 2067
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:36

    The line: result = result * i should be indented (it is the body of the for-loop).

    Or - you have mixed space and tab characters

提交回复
热议问题