diff --git a/build.py b/build.py index 6d455db..63b743a 100644 --- a/build.py +++ b/build.py @@ -1,9 +1,5 @@ -def solution(list): - ''' - Enter your code here - ''' - unique = [] - for x in list: - if x not in unique: - unique.append(x) - return (unique) \ No newline at end of file +def solution(l): + mylist = list(set(l)) + return mylist + +print solution([2,3,5,3,2,1,4]) diff --git a/build.pyc b/build.pyc new file mode 100644 index 0000000..aea4979 Binary files /dev/null and b/build.pyc differ diff --git a/tests/__init__.pyc b/tests/__init__.pyc new file mode 100644 index 0000000..6d839b7 Binary files /dev/null and b/tests/__init__.pyc differ diff --git a/tests/test_solution.pyc b/tests/test_solution.pyc new file mode 100644 index 0000000..2a19ccd Binary files /dev/null and b/tests/test_solution.pyc differ