Advertisement
Guest User

Untitled

a guest
May 21st, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. def duplicar(self, elemento):
  2.         act = self.prim
  3.         while act:
  4.             if act.dato == elemento:
  5.                 act.prox = _Nodo(elemento)
  6.                 act = act.prox.prox
  7.             else:
  8.                 act = act.prox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement