python报错TabError: Inconsistent use of tabs and spaces in indentation

报错内容: TabError: Inconsistent use of tabs and spaces in indentation 报错原因是使用了Tab键作为缩进了,报这个错时只需要把Tab键换成全部换成空格就行了 Notepad++中可以显示出t制表符和空格:
相关文章
相关标签/搜索