-
-
Save parzibyte/62528d3ec96e1285ec24925245daf077 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
diccionario = {} | |
for letra in cadena: | |
if not letra in diccionario: | |
diccionario[letra] = { | |
"conteo": 0, | |
} | |
diccionario[letra]["conteo"] += 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment