up
This commit is contained in:
parent
d6db1ef292
commit
ca1ac8de23
24
voyelles.py
Normal file
24
voyelles.py
Normal 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="")
|
Loading…
x
Reference in New Issue
Block a user