-
-
Save rustoceans/916f42554cb5f7819959168eac54eef4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def mimimi(frase): | |
| """ | |
| Função que mimimiza frases | |
| >>> mimimi('Por que você não tá estudando pra sua prova de amanhã?') | |
| 'Pir qii vici nii ti istidindi pri sii privi di iminhi?' | |
| """ | |
| n = ('ã', 'a', 'e', 'o', 'u', 'á', 'é', 'ê', 'í', 'ó') | |
| for letra in n: | |
| frase = frase.replace(letra, 'i') | |
| return frase |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment