列表嵌套
name=[['1','2','3'],['s','a','d'],['撒','萨芬','给对方']]
print(name[0])
print(name[1][2])
列表复制
name=['ssad','123','g','.']
#复制copy
name1=name.copy()
print(name1)
列表修改
name=['ssad','123','g','.']
#修改指定下标数据
name[0]='aaa'
print(name)
#reverse逆序
name1=['1','2','3']
name1.reverse()
print(name1)
#sort排序,升序或降序,默认升序
name2=['1','2','3','4','5']
#name2.sort(reverse=False)##升序
name2.sort(reverse=True)##降序
print(name2)