题解 | #逆序输出#

逆序输出

http://www.nowcoder.com/practice/bb66c27cb7aa48f9ba7d9f88e4068285

#2022/5/31 15:59
n=list(map(int,input().split()))
list_1=[x for x in reversed(n)]
list_2=' '.join(str(i) for i in list_1)
print(list_2)
全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务