inconsistent use of tabs and spaces in indentation
这个报错就是混用了tab和4个空格造成的,检查代码,要不全部用tab,要不全部用4个空格,或者用idle编辑器校正
本文详细解释了在代码中混用tab和空格进行缩进时引发的“inconsistent use of tabs and spaces in indentation”错误,并提供了检查和解决该问题的方法,包括使用统一的缩进工具如idle编辑器进行代码格式调整。
inconsistent use of tabs and spaces in indentation
这个报错就是混用了tab和4个空格造成的,检查代码,要不全部用tab,要不全部用4个空格,或者用idle编辑器校正
1129

被折叠的 条评论
为什么被折叠?