比如输入:hello xiao mi 输出:mi xiao hello
收起
x=input().split() print(' '.join(x[::-1]))
如果有帮助请点一下我回答右上方的采纳,谢谢!以后有什么问题可以互相交流。
报告相同问题?