Discuss / Python / 遇到问题 求助下

遇到问题 求助下

Topic source

Traceback (most recent call last): File "<pyshell#46>", line 1, in <module> bart.print_score() AttributeError: 'Student' object has no attribute 'print_score'

不知道为什么会报错。。。新手

解决了 。。小问题

请问怎么解决的呢?我也报这个错

我的问题我问别人,已经解决了。init这里居然是2个下滑线。。。。 我写成init


  • 1

Reply