Discuss / Python / 作业7

作业7

Topic source

孤o赦免你

#1 Created at ... [Delete] [Delete and Lock User]

# tuple排序-姓名

def by_name(t):

    return t[0]

# tuple排序-成绩

def by_grade(t):

    return t[-1]


  • 1

Reply