def anti_vowel(text): anti = "" vowels = ['A','E','I','O','U','a','e','i','o','u'] for char in text: if char not in vowels: anti = anti + char return anti
def anti_vowel(text): anti = "" vowels = ['A','E','I','O','U','a','e','i','o','u'] for char in text: if char not in vowels: anti = anti + char return anti
Register to vote on and add code examples. Join our developer community to improve your dev skills and code like a boss!
No Good?
Help us improve our code examples by registering to vote on and add answers. Join our developer community to improve your dev skills and code like a boss!