You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
217 B
11 lines
217 B
lettreRech = input()
|
|
nbLignes = int(input())
|
|
count = 0
|
|
|
|
for loop in range(nbLignes):
|
|
texte = input()
|
|
for lettre in range(len(texte)):
|
|
if texte[lettre] == lettreRech:
|
|
count +=1
|
|
|
|
print(count)
|