跟着zxw老师视频学习,写这个程序时理解什么意思了,但是死活就是报错,仔细看了代码并没有写错,百度一下才发现是因为把–init–写成了-init-,还有一种错误是把–init–写成–int–也会报这个错,怕自己记不住,写下来比较靠谱,双横杠和单横杠区别开,init不要写成int
TypeError: Student() takes no arguments python错误
这是正确的写法,错误的写法是下面这种
TypeError: Student() takes no arguments python错误

相关文章:

  • 2022-12-23
  • 2021-11-29
  • 2021-10-24
  • 2021-11-08
  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
  • 2021-06-12
猜你喜欢
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2021-07-28
  • 2022-01-22
  • 2021-10-20
  • 2022-12-23
相关资源
相似解决方案