Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created July 23, 2020 21:32
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/8b7d3bafc6b8f462f792b937eff9704d to your computer and use it in GitHub Desktop.
Save parzibyte/8b7d3bafc6b8f462f792b937eff9704d to your computer and use it in GitHub Desktop.
# También se puede en orden inverso
juegos_ordenados = sorted(juegos, key=funcion_que_devuelve_clave, reverse=True)
print("Ordenada por calificación descendente: ")
for juego in juegos_ordenados:
print(juego)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment