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了
Sign in to make a reply
多少白天多少黑夜
Traceback (most recent call last): File "<pyshell#46>", line 1, in <module> bart.print_score() AttributeError: 'Student' object has no attribute 'print_score'
不知道为什么会报错。。。新手