-
-
Save parzibyte/c634d52a3234b11f81f6aa3dc9fff3e6 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
def agregar_al_inicio(nodo_inicial, dato): | |
nuevo_nodo = Nodo(dato) | |
nuevo_nodo.siguiente = nodo_inicial | |
return nuevo_nodo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment