Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created July 21, 2022 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/ac41d50fcd801c38adfc1dda798173fc to your computer and use it in GitHub Desktop.
Save parzibyte/ac41d50fcd801c38adfc1dda798173fc to your computer and use it in GitHub Desktop.
for letra in diccionario:
print(letra, end=" ")
for i in range(diccionario[letra]["conteo"]):
print("*", end="")
porcentaje_redondeado = round(diccionario[letra]["porcentaje"], 1)
print(f" {porcentaje_redondeado} %")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment