# 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 奥喵 阅读(81) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 奥喵 Powered by .NET 9.0 on Kubernetes