Skip to content

Instantly share code, notes, and snippets.

@DRMD431LU
DRMD431LU / main.py.py
Created October 14, 2017 02:34
main.py created by DRMD431LU - https://repl.it/McE8/10
class Nodo:
def __init__(self):
self.dato=None
self.izq=None
self.der=None
def insertar(self,valor):
if self.dato is None:
@DRMD431LU
DRMD431LU / main.py.py
Created October 14, 2017 02:12
main.py created by DRMD431LU - https://repl.it/McE8/8
class Nodo:
def __init__(self):
self.dato=None
self.izq=None
self.der=None
def insertar(self,valor):
if self.dato is None:
self.dato=valor
self.izq=Nodo()
self.der=Nodo()