Count a group of same character in python

前端 未结 0 615
野趣味
野趣味 2020-12-01 05:50

I have a input file like this;

C C C C C C C C C C C C C B B B C C B B B B B B B B B B B C C C C C C C C C C C C C C C C B C C C

I like to count how many \'B

相关标签:
回答
  • 消灭零回复
提交回复
热议问题