环境:ubuntu python3.7
File "tab_test.py", line 6
a = b+1
^
IndentationError: unindent does not match any outer indentation level
else:
print("Answer")
a = b+1
该错误是a=b+1这行的缩进不对,应该对齐else
缩进改到一起,问题解决
环境:ubuntu python3.7
File "tab_test.py", line 6
a = b+1
^
IndentationError: unindent does not match any outer indentation level
else:
print("Answer")
a = b+1
该错误是a=b+1这行的缩进不对,应该对齐else
缩进改到一起,问题解决