Python字符串统计个数

Python字符串统计个数

a = '123456789'

a.count('1')

posted @ 2022-08-08 15:30  bH1pJ  阅读(64)  评论(0编辑  收藏  举报