l = [1,2,3] # 反转list l.reverse() print(l)