Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def eliminarEnLista(L):
- n=int(raw_input("Ingrese el numero que desea eliminar de la lista: "))
- L=[]
- i=0
- while i <len(L):
- for cont in L[i]:
- if cont <=L[i]:
- continue
- if cont==n and cont==L[i]:
- L.remove(i)
- else:
- pass
- i+=1
- return L
Add Comment
Please, Sign In to add comment