Initial release
This commit is contained in:
7
Thor le narcissique.py
Normal file
7
Thor le narcissique.py
Normal file
@@ -0,0 +1,7 @@
|
||||
liste_mots = open("liste_mots_francais.txt").read().splitlines()
|
||||
|
||||
count = 0
|
||||
for mot in liste_mots:
|
||||
if mot.count('t') == 1 and mot.count('h') == 1 and mot.count('o') == 1 and mot.count('r') == 1:
|
||||
count += 1
|
||||
print(count)
|
||||
Reference in New Issue
Block a user