原题目链接 题解与感想 本来应该是用C写才有点数据结构的味道,不过正好这段时间复(yu)习python,遂用python写的 源码 sentence=input() new_sentence='' for word in sentence.split()[::-1]: new_sentence+=word new_sentence+=' ' print(new_sentence.strip())