up
This commit is contained in:
parent
755c4b265e
commit
7ff1fa9950
11
analyse_langue.py
Normal file
11
analyse_langue.py
Normal 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)
|
Loading…
x
Reference in New Issue
Block a user