Advertisement
britodfbr

unique.py

Nov 10th, 2015
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. def uniq(input):
  2.   output = []
  3.   for x in input:
  4.     if x not in output:
  5.       output.append(x)
  6.   return output
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement