题解 | 神秘石像的镜像序列
神秘石像的镜像序列
https://www.nowcoder.com/practice/fa34eea974234610b6d3d81790cb2949
import sys
lst = list(map(int,input().split()))
if 0 in lst:
lst.remove(0)
lst.reverse()
for i in lst:
print(i,end=" ")
神秘石像的镜像序列
https://www.nowcoder.com/practice/fa34eea974234610b6d3d81790cb2949
import sys
lst = list(map(int,input().split()))
if 0 in lst:
lst.remove(0)
lst.reverse()
for i in lst:
print(i,end=" ")
相关推荐
查看13道真题和解析