题解 | #图片整理#

图片整理

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

def my_func(in_str):
    return "".join(sorted(in_str, key=lambda x:ord(x)))



while True:
    try:
        print(my_func(input()))
    except (EOFError, KeyboardInterrupt):
        break
全部评论

相关推荐

05-09 13:22
门头沟学院 Java
点赞 评论 收藏
分享
评论
1
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务