PAT (Basic Level) Practice Python解法 1009 说反话(list/reverse/join)
hys2 = input().split()
#print(hys2.reverse())这样输出是空值,要reverse操作之后再输出hys2
hys2.reverse()
print(" ".join(hys2))
PAT (Basic Level) Practice Python解法 1009 说反话(list/reverse/join)
hys2 = input().split()
#print(hys2.reverse())这样输出是空值,要reverse操作之后再输出hys2
hys2.reverse()
print(" ".join(hys2))