问题遇到的现象和发生背景
运行结果及报错内容
File "C:\Users\dabuniu13\AppData\Local\Programs\Python\Python310\git.py", line 18
datas = []
TabError: inconsistent use of tabs and spaces in indentation
Process finished with exit code 1
我想要达到的结果
能够正常运行
File "C:\Users\dabuniu13\AppData\Local\Programs\Python\Python310\git.py", line 18
datas = []
TabError: inconsistent use of tabs and spaces in indentation
Process finished with exit code 1
能够正常运行
报错是说你将空格和tab混用了
检查一下代码的波浪线部分,将前面的空格用tab缩进代替