一、提出任务
给你一个英语句子,比如"London bridge is falling down",把它完全倒装过来,"down falling is bridge London"。
二、编写源代码
"""
给你一个英语句子,比如"London bridge is falling down",
把它完全倒装过来,成为"down falling is bridge London"。
"""
sentence = "London bridge is falling down"
print("原始语句:" + sentence)
print("\n方法一:句子拆分-单词数组-数组倒序")
words = sentence.split(&