-
-
Save parzibyte/c165f19b72826aeff7e1feac7e21e7ed 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): | |
# "dato" puede ser de cualquier tipo, incluso un objeto si se sobrescriben los operadores de comparación | |
self.dato = dato | |
self.izquierda = None | |
self.derecha = None |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment