24 lines
734 B
Python
24 lines
734 B
Python
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="") |