Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def duplicar(self, elemento):
- act = self.prim
- while act:
- if act.dato == elemento:
- act.prox = _Nodo(elemento)
- act = act.prox.prox
- else:
- act = act.prox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement