cours_NSI/scripts/dentiste/exo_corr.py
2022-05-09 17:34:16 +02:00

9 lines
199 B
Python

voyelles = ['a', 'e', 'i', 'o', 'u', 'y']
def dentiste(texte):
resultat = ''
for lettre in texte:
if lettre in voyelles:
resultat = resultat + lettre
return resultat