字符串可使用sorted()函数>> s = "huhongiang">> sorted(s)['a', 'g', 'g', 'h', 'h', 'i', 'n', 'n', 'o', 'u']['a 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交