Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created December 26, 2019 16:17
Show Gist options
  • Save Fhernd/6d41786fc8952bb4b4b82eaa12c2b17d to your computer and use it in GitHub Desktop.
Save Fhernd/6d41786fc8952bb4b4b82eaa12c2b17d to your computer and use it in GitHub Desktop.
# Ejercicio 433: Invertir el orden de los elementos de un objeto tupla.
# Ejercicio 433: Invertir el orden de los elementos de un objeto tupla.
numeros = (1, 2, 3, 4, 5)
print(numeros)
resultado = tuple(reversed(numeros))
print(resultado)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment