8/15 my(method stolen from the web). Good enough?

from string import maketrans
vowels = "aeiouAEIOU"
bowels = "zxcvbnmsdf"
transvowels = maketrans(vowels, bowels)

def anti_vowel(text):
      return text.translate(transvowels, "aeiouAEIOU")
print anti_vowel("Hey You!")

I was looking for a method that removes parts of a string and stumbled on this. Somehow it works, but I don't make any use of the maketrans table :expressionless:


you do make use of the maketrans table


yeah, i mean that i don't translate anything, i just remove stuff :sweat: