原题目链接 题解与感想 本来应该是用C写才有点数据结构的味道,不过正好这段时间复(yu)习python,遂用python写的 源码 sentence=input() new_sentence='' for word in sentence.split()[::-1]: new_sentence+=word new_sentence+=' ' print(new_sentence.strip()) 来源:CSDN作者:渊澄链接:https://blog.csdn.net/yuancheng224/article/details/104643457 标签 编程语言 python