import re def rem_vowel(string): return(re.sub("[aeiouAEIOU]","",string)) string = "GeeksforGeeks - A Computer Science Portal for Geeks" print(rem_vowel(string))
To embed this project on your website, copy the following code and paste it into your website's HTML: