阅读背景:

字符串内置方法

来源:互联网 
st='hello kitty'
print(st.count('t')) #数字符串中某字符的个数print(st.count('t'))



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: