一、数据的修改
list1 = ['a','b','c','d']
list1[0] ='x'
print(list1) #['x','b','c','d']
二、reverse():逆序
list1 = ['a','b','c','d']
list1.reverse()
print(list1) #['d','c','b','a',]
三、sort():默认升序排序,reverse=true 降序,reverse=false 升序
list1=['2','3','5','1','4']
list.sort(reverse=true)
print(list1) #['5','4','3','2','1',]