摘要:
1 st='hello kitty' 2 print(st.count('t')) #数字符串中某字符的个数 3 print(st.capitalize()) #字符串首字母大写 4 print(st.endswith('tty')) #判断结尾字符,返回True/False 5 print(st.startswith('... 阅读全文
posted @ 2018-12-06 22:23
Python_金融_Mr.Gao
阅读(204)
评论(0)
推荐(0)
浙公网安备 33010602011771号