0

someone knows how to solve this?

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 >>> vocales_andarinas("patata") 'petete' >>> vocales_andarinas("aeiou") 'eioua' >>> vocales_andarinas("mi mama me mima") 'mo meme mi mome'

18th Nov 2020, 9:21 PM
Massiel Ramírez
1 Odpowiedź
+ 2
Use string translate together with maketrans...example here:- https://www.w3schools.com/JUMP_LINK__&&__python__&&__JUMP_LINK/ref_string_maketrans.asp
18th Nov 2020, 10:22 PM
rodwynnejones
rodwynnejones - avatar