数列翻转.py 146 B

1234
  1. nums = list(input().split())
  2. output = nums[1:] #取第二个到最后一个数字
  3. output.reverse() #翻转数列
  4. print(" ".join(output))