# 16、现有字符串a="Im Love python",需要变成b="python love Im"a="Im Love python"a1= a.split(' ')a2=sorted(a1,reverse=True) #降序b = ' '.join(a2)print(b)
posted on 2019-05-16 09:40 奥喵 阅读(84) 评论(0) 收藏 举报
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3