Python实现多属性排序 多属性排序:假如某对象有n个属性,那么先按某规则对属性a进行排序,在属性a相等的情况下再按某规则对属性b进行排序,以此类推. 现有对象Student: class Student: def __init__(self, name, math, history, chinese): self.name = name self.math = math self.history = history self.chinese = chinese 多属性排序: studentL