Advertisement
foreverbule2003

Untitled

Jul 23rd, 2014
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. def anti_vowel(text):
  2.     vowel = ["a","e","i","o","u","A","E","I","o","u"]
  3.     no_vowel = ""
  4.     for i in text:
  5.         if i not in vowel:
  6.             no_vowel = i
  7.  
  8.     return no_vowel
  9.  
  10. print anti_vowel("ABCD")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement