Python IndentationError: unindent does not match any outer indentation level

0x00 错误

  File "/Users/apple/Desktop/Me/My/Python3/MyCode/test4.py", line 598
    print('all_types.count =', len(all_types))
                                              ^
IndentationError: unindent does not match any outer indentation level

0x01 问题

代码缩进问题
重新把 前后 相关代码的 缩进 删除
再重新添加 缩进
应该能解决问题了


我的作品

欢迎体验我的作品之一:小编辑器
一款小巧的在线编辑器
App Store 搜索即可~


猜你喜欢

转载自blog.csdn.net/xjh093/article/details/123984791