Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
218 B
4
Indexable
Never
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=' ')
Leave a Comment