代码看起来没问题,但全是WA,请大佬指点
n = input() x = list(input().split(' ')) x.reverse() for i in range(int(n)): print(x[i],end=' ')