# 使用lambda表达式 print(sorted(L, key=lambda t: t[0])) print(sorted(L, key=lambda t: t[1], reverse=True))
Sign in to make a reply
余生属于你