Advertisement
Guest User

Untitled

a guest
Apr 5th, 2020
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. def disemvowel(string):
  2.        
  3.     string = list(string)    
  4.     for vowel in string:
  5.         if vowel in "aeiouAEIOU":
  6.             string.remove(vowel)
  7.  
  8.     return "".join(string)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement