Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created January 15, 2021 02:12
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/c165f19b72826aeff7e1feac7e21e7ed to your computer and use it in GitHub Desktop.
Save parzibyte/c165f19b72826aeff7e1feac7e21e7ed to your computer and use it in GitHub Desktop.
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