PY
py
1
2
3
4
5
6
7
8
9
# removes vowels (not including y) from input
r_text = input("")
# makes a list with char strings with list comprehensions, if the string passed is not a vowel
print("\n The trimmed text is: " + "".join([*[i for i in r_text if i not in "aeiouAEIOU"]]
))
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run