Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created December 26, 2019 14:37
Show Gist options
  • Save Fhernd/19e69288411e710628fccfe077664ab6 to your computer and use it in GitHub Desktop.
Save Fhernd/19e69288411e710628fccfe077664ab6 to your computer and use it in GitHub Desktop.
# Ejercicio 432: Crear una lista de tuplas a partir de la función zip().
# Ejercicio 432: Crear una lista de tuplas a partir de la función zip().
lista = [(1, 2), (3, 4), (5, 6), (7, 8)]
resultado = list(zip(*lista))
print(resultado)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment