题解 | 神秘石像的镜像序列
神秘石像的镜像序列
https://www.nowcoder.com/practice/fa34eea974234610b6d3d81790cb2949
a = list(map(int,input().split()))
a.pop()
l = len(a)
b = [0]*l
for i in range(l):
b[l-i-1] = a[i]
print(' '.join(map(str,b)))
神秘石像的镜像序列
https://www.nowcoder.com/practice/fa34eea974234610b6d3d81790cb2949
a = list(map(int,input().split()))
a.pop()
l = len(a)
b = [0]*l
for i in range(l):
b[l-i-1] = a[i]
print(' '.join(map(str,b)))
相关推荐