Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created April 23, 2020 03:45
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/f1c8a5620157323fa465946879743bc7 to your computer and use it in GitHub Desktop.
Save parzibyte/f1c8a5620157323fa465946879743bc7 to your computer and use it in GitHub Desktop.
# También podemos usar operaciones de listas (https://parzibyte.me/blog/2018/12/18/operaciones-cortar-arreglos-python/)
# Eliminar desde el segundo hasta el final
del lista[1:]
print("Después de eliminar: " + str(lista))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment