while True: try: print(''.join(sorted(list(input())))) #可以直接用str排序,不用list except: break
点赞

相关推荐

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