-
-
Save parzibyte/d167bdf0154fb4d44eed1bc01ae20f0f to your computer and use it in GitHub Desktop.
This file contains 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
# Lo convertimos a minúsculas pues una palabra mayúscula y minúscula cuenta como una sola | |
texto = texto.lower() | |
# Las palabras están separadas por un espacio así que convertimos la cadena a arreglo | |
palabras = texto.split(" ") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment