📅  最后修改于: 2022-03-11 14:45:10.222000             🧑  作者: Mango
>>> class Student:
... def __init__(self, name, grade, age):
... self.name = name
... self.grade = grade
... self.age = age
... def __repr__(self):
... return repr((self.name, self.grade, self.age))