diff --git a/build.py b/build.py index e58ff13..b9d8b38 100644 --- a/build.py +++ b/build.py @@ -1,7 +1,11 @@ import numpy as np - - -def solution(array): - """ - Enter your code here - """ \ No newline at end of file +def solution(arr): + array = np.array(arr) + l = [] + for x in np.nditer(array): + if x not in l: + l.append(x) + else: + pass + unique_array = np.array(l) + return unique_array diff --git a/build.pyc b/build.pyc new file mode 100644 index 0000000..8fce16c 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..a9060d9 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..3ebbaae Binary files /dev/null and b/tests/test_solution.pyc differ