Samuel Vermeulen 4 weeks ago
parent
commit
7ff1fa9950
  1. 11
      analyse_langue.py

11
analyse_langue.py

@ -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)
Loading…
Cancel
Save