Discuss / Python / 交作业

交作业

Topic source

按名字排序:

def by_name(t): return t[0].lower()

按成绩从高到低排序:

def by_name(t): return -t[1]


  • 1

Reply