Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vowels = "aeiouAEIOU"
- def removeVowel():
- non_vowel_list = []
- user_input = raw_input("Unesi tekst:")
- if len(user_input) > 0:
- for char in user_input:
- if char not in vowels:
- non_vowel_list.append(char)
- final_word = "".join(str(letter) for letter in non_vowel_list)
- print final_word
- removeVowel()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement