这不明明只有三个为啥提示给了四个参数然后报错了
class people:
name=''
age=0
weight=100
def __init__(self,name,age):
self.name=name
self.age=age
class student(people):
grade=0
def __int__(self,name,age,grade):
people.__init__(self,name,age)
self.grade=100
stu=student('a',10,100)
print(stu.name,stu.age,stu.grade)
stu=student('a',10,100)
TypeError: init() takes 3 positional arguments but 4 were given