第一种切片
a = [3,4,5,6,9]print(a[::-1])
第二种内建函数reverseda = [3,4,5,6,9]li = list(reversed(a))print(li)
第三种内建函数sorted()a = [3,4,5,6,9]li = sorted(a,reverse=True)print(li)