Python: List: Unique Values

Write a function that takes a list and returns another list where duplicated values are removed.


unique([5, 2, 1, 2, 'Dave', 'dave', 5, 1]) -> [5, 2, 1, 'Dave', 'dave']

Test 1    

Test 2    

Test 3    

Test 4    

Test 5    

Test 6