题解 | #字符串加解密#
单词倒排
http://www.nowcoder.com/practice/81544a4989df4109b33c2d65037c5836
while True:
try:
s = input()
s = s.replace("$"," ")
s = s.replace("*", " ")
s = s.replace("!", " ")
s = s.replace("#", " ")
s.lstrip()
lst = s.split(" ")
for i in lst[::-1]:
print(i,end=" ")
except:
break