python题解 | #图片整理#

图片整理

https://www.nowcoder.com/practice/2de4127fda5e46858aa85d254af43941

s = input()
list1 = list()
for c in s:
    list1.append(c)
#python内置的函数就是按照ASCII码排列从小到大的
list1.sort()
print(''.join(list1))

全部评论

相关推荐

点赞 收藏 评论
分享
牛客网
牛客企业服务