如何将字符串转换成字符数组? 我正在尝试将用户输入字符串拆分为字符数组,以计算每个字符的出现次数。下面是我的代码 input=input() list=input.split() print(list) 当我输入字符串aaas ...2024-06-07 已阅读: n次