-
-
Save parzibyte/706524ddd3d3b5ec6c1ff2b8f00caf3e 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
numeros = [23, 25, 30, 1, 28, 11, 96, 2, 3, 1] | |
print("Arreglo de números original:") | |
print(numeros) | |
seleccion(numeros) | |
print("Arreglo de números ordenado: ") | |
print(numeros) | |
seleccion_descendente(numeros) | |
print("Arreglo de números ordenado descendente: ") | |
print(numeros) | |
cadenas = ["Luis", "Link", "Mario", "Aloy", "Claire", | |
"Leon", "Zelda", "María", "King K. Rool"] | |
print("Arreglo de cadenas original:") | |
print(cadenas) | |
seleccion(cadenas) | |
print("Arreglo de cadenas ordenado: ") | |
print(cadenas) | |
seleccion_descendente(cadenas) | |
print("Arreglo de cadenas ordenado descendente: ") | |
print(cadenas) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment