def by_name(t): return t #什么都不做,默认就是按名字排序 def by_score(t): l = list(t) l[0], l[1] = l[1], l[0] return l
Sign in to make a reply
菜问