Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created June 24, 2018 19:36
Show Gist options
  • Save Fhernd/0bd237e877457282a71447184eaf8626 to your computer and use it in GitHub Desktop.
Save Fhernd/0bd237e877457282a71447184eaf8626 to your computer and use it in GitHub Desktop.
Iterar sobre múltiples secuencias al mismo tiempo. OrtizOL.
x_puntos = [2, 3, 5, 7, 11]
y_puntos = [4, 6, 8, 9, 10]
for x, y in zip(x_puntos, y_puntos):
print('Punto: ({}, {})'.format(x, y))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment