Delete repeated vowels X84961


Statement
 

pdf   zip

html

Write a function del_rep_vow(s) that has a string s as parameter and returns the string obtained after ruling out all the vowel repetitions. Assume all vowels in s are lowercase.

Sample session
>>> del_rep_vow('adaptation')
'adpttion'
>>> del_rep_vow('repetitions')
'reptitons'
>>> del_rep_vow('kingkong')
'kingkong'
>>> del_rep_vow('aeiouaeiou')
'aeiou'
Information
Author
ProAl
Language
English
Official solutions
Python
User solutions
Python