Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def anti_vowel(text):
- vowel = ["a","e","i","o","u","A","E","I","o","u"]
- no_vowel = ""
- for i in text:
- if i not in vowel:
- no_vowel = i
- return no_vowel
- print anti_vowel("ABCD")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement