#输入字符串 str1=input() #各个字符转换为ASCII码 ASCII=[] for x in str1: ASCII.append(ord(x)) #排序后输出 ASCII=sorted(ASCII) for x in ASCII: print(chr(x),end='')
#输入字符串 str1=input() #各个字符转换为ASCII码 ASCII=[] for x in str1: ASCII.append(ord(x)) #排序后输出 ASCII=sorted(ASCII) for x in ASCII: print(chr(x),end='')