Walking vowels X65087


Statement
 

pdf   zip

html

Dessign the function vocales_andarinas(w) which, given a str w in lowercase, rewrites it rotating by one the vowels.

That is,

where there is an a put e

where there is an e put i

...

where there is an u put a

Sample session
>>> vocales_andarinas("patata")
'petete'
>>> vocales_andarinas("aeiou")
'eioua'
>>> vocales_andarinas("mi mama me mima")
'mo meme mi mome'
Information
Author
InfBesos
Language
English
Other languages
Catalan Spanish
Official solutions
Python
User solutions
Python