这个错误是将tab键作缩进造成的,因为在python不像C/C++里用大括号来区分程序块,而是用缩进, 所以缩进很重要,不过你要是一样倒腾到没脾气可以直接将IDLE代码cv到pycharm里,一遍过,真香

Python问题定位:TabError: Inconsistent use of tabs and spaces in indentationPython问题定位:TabError: Inconsistent use of tabs and spaces in indentation

Python问题定位:TabError: Inconsistent use of tabs and spaces in indentation

相关文章:

  • 2021-11-22
  • 2021-07-12
  • 2021-10-02
  • 2021-07-02
  • 2021-06-13
  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-04
  • 2022-01-13
  • 2021-07-15
  • 2021-06-04
  • 2021-09-06
  • 2021-09-12
相关资源
相似解决方案