内置---排序(sorted)
# li = [1,23,4,5,6,6,7]
# res = sorted(li,reverse=True) #反转后,从小到大
默认从大到小
#res = sorted(li)
# print(res)
#
# # salary = {
# "egon":250,
# "zgon":500,
# "bgon":20000,
# }
#
# res = sorted(salary,key=lambda k:salary[k])
# # 得到工资最高钱
# print(res[-1],salary[res[-1]])
# print(res)