📜  列表按键排序python代码示例

📅  最后修改于: 2022-03-11 14:45:20.512000             🧑  作者: Mango

代码示例3
>>> 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))