Discuss / Python / 第一题

第一题

Topic source

www.LC.com

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

def by_name(t):

    # 按照名字排序 (忽略大小写)

    return t[0].lower()

    # 按照年龄排序 return t[1]


  • 1

Reply