up
This commit is contained in:
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)
|
||||||
Reference in New Issue
Block a user