This commit is contained in:
Samuel Vermeulen 2023-01-04 22:09:19 +01:00
parent 755c4b265e
commit 7ff1fa9950

11
analyse_langue.py Normal file
View File

@ -0,0 +1,11 @@
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)