Untitled

 avatar
unknown
plain_text
a year ago
218 B
5
Indexable
text = "Hello World!"
# text = "tAbLe"

vowel_list=['a','e','i','o','u','A','E','I','O','U']

for letter in text:
    if letter in vowel_list or not letter.isalpha():
        continue
    print(letter, end=' ')
Editor is loading...
Leave a Comment