SHARE
TWEET

Untitled

a guest Mar 25th, 2019 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. i = 0
  2.   while  i < len(lst) - 1:
  3.     while lst[i] in lst[i + 1 : len(lst) - 1] :
  4.       lst.reverse()
  5.       lst.remove(lst[i])
  6.       lst.reverse()
  7.     i = i + 1
  8.  
  9.  
  10.  
  11.   for i in range (0,len(lst) - 1):
  12.     for j in range (i,len(lst) - 1):
  13.       if (j != i and lst[i] == lst[j]):
  14.         del lst[j]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top