为什么运行结果还是int捏
class Student():
def __init__(self,name,gender,score):
self.name=name
self.gender=gender
self.score=score
def __str__(self):
return 'Student:{},{},{}'.format(self.name,self.gender,self.score)
def __repr__(self):
return 'Student:{},{},{}'.format(self.name,self.gender,self.score)
Alice=Student('Alice','Female',90)
print(Alice)