题解 | #单词倒排#
单词倒排
http://www.nowcoder.com/practice/81544a4989df4109b33c2d65037c5836
str1 = input()
new_str = ''
for i in str1:
if i.isupper()&nbs***bsp;i.islower():
new_str += i
else:
new_str += ' '
print(' '.join(new_str.split(' ')[::-1]))

