Guest User

Untitled

a guest
Aug 24th, 2014
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. def del_dups (list):
  2.     i = 0
  3.     for thing in list:
  4.         j = i + 1
  5.         for cur in list[j:]:
  6.             if thing == cur:
  7.                 del list[j]
  8.             j += 1
  9.  
  10.         i += 1
Advertisement
Add Comment
Please, Sign In to add comment