牛客736827968号
牛客736827968号
全部文章
分类
题解(2)
归档
标签
去牛客网
登录
/
注册
牛客736827968号的博客
全部文章
(共2篇)
题解 | #计算某字母出现次数#
str_list = []while True: a = input() i=0 if a == 'p': for item in str_list: print(item) break if len(a) >100: ...
2021-07-23
0
260
题解 | #计算某字母出现次数#
a = input()b = input()c = a.lower().strip().replace(b.lower(),b.lower() + '+++' + b.lower()) #a中的b字母全部替换成b+++bleng = len(c.split('+++'))-1 #按照+++分词,长度...
2021-07-22
0
228