开发者社区 问答 正文

Python字符串的count()方法的语法是什么?

Python字符串的count()方法的语法是什么?

展开
收起
游客ydhxr2xydmgpo 2021-11-02 21:46:42 319 分享 版权
1 条回答
写回答
取消 提交回答
  • str.count(sub, start= 0,end=len(string))

    2021-11-02 21:47:05
    赞同 展开评论