Skip to content

Instantly share code, notes, and snippets.

@ProProgrammer
Last active December 23, 2015 22:00
Show Gist options
  • Save ProProgrammer/6700568 to your computer and use it in GitHub Desktop.
Save ProProgrammer/6700568 to your computer and use it in GitHub Desktop.
Check for Vowels and remove them from input string
def anti_vowel(text):
for char in 'aeiouAEIOU':
text = text.replace(char,'')
return text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment