Discuss / Python / sorted

sorted

Topic source
def by_name(t):
    return t[0]

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

  • 1

Reply