# 反转 reverse# l=['lili','asdf','qwer','80000']# l.reverse()# print(l) # ['80000', 'qwer', 'asdf', 'lili'] # 排序 sort# l=[1,3,5,7,2,4]# l.sort()# print(l) # [1, 2, 3, 4, 5, 7] # 将数字按从小到大排列# l=[1,3,5,7,2,4]# l.sort(reverse=True) # 将数字按照从大到小排列# print(l)…