Last active
April 3, 2017 01:04
-
-
Save andresAlvarado/ce41ee0fe6e84fb2260306405501e2b0 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
class Nodo: | |
def __init__( self, dato ): | |
self.dato = dato | |
self.sig = None | |
#def asignarDato( self, dato ): | |
# self.dato = dato | |
def asignarSig( self, sig ): | |
self.sig = sig | |
def obtenerSig( self ): | |
return self.sig | |
def obtenerDato( self ): | |
return self.dato |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment