以下关于字符串类型的操作的描述,正确的是()。
(A)想获取字符串str的长度,用字符串处理函数len(str)
(B)设x='aaa',则执行x/3的结果是'a'
(C)想把一个字符串str所有的字符都大写,用upper(str)
(D)str.isnumeric()方法把字符串str中数字字符变成数字
查看解析
参考答案
继续答题:下一题


(A)想获取字符串str的长度,用字符串处理函数len(str)
(B)设x='aaa',则执行x/3的结果是'a'
(C)想把一个字符串str所有的字符都大写,用upper(str)
(D)str.isnumeric()方法把字符串str中数字字符变成数字