-
-
Save parzibyte/25e44167f2c1c392077dcadd65ac17b0 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
for numero in datos: | |
clave = str(numero) | |
# Si no existe... | |
if not clave in diccionario_conteo: | |
# lo agregamos: | |
diccionario_conteo[clave] = 1 | |
# Si ya existe... | |
else: | |
# Lo aumentamos | |
diccionario_conteo[clave] += 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment