This commit is contained in:
Samuel Vermeulen 2023-01-04 15:07:57 +01:00
parent d6db1ef292
commit ca1ac8de23

24
voyelles.py Normal file
View File

@ -0,0 +1,24 @@
titreLivre = input()
auteurLivre = input()
for loop in range(len(titreLivre)):
if titreLivre[loop] != "A" \
and titreLivre[loop] != "E" \
and titreLivre[loop] != "I" \
and titreLivre[loop] != "O" \
and titreLivre[loop] != "U" \
and titreLivre[loop] != "Y" \
and titreLivre[loop] != " ":
print(titreLivre[loop], end="")
print()
for loop in range(len(auteurLivre)):
if auteurLivre[loop] != "A" \
and auteurLivre[loop] != "E" \
and auteurLivre[loop] != "I" \
and auteurLivre[loop] != "O" \
and auteurLivre[loop] != "U" \
and auteurLivre[loop] != "Y" \
and auteurLivre[loop] != " ":
print(auteurLivre[loop], end="")