Python IndentationError: unindent does not match any outer indentation level

Python IndentationError: unindent does not match any outer indentation level,第1张

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 搜索即可~


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/570548.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-09
下一篇 2022-04-09

发表评论

登录后才能评论

评论列表(0条)

保存