diff --git a/build.py b/build.py index e58ff13..840f4c3 100644 --- a/build.py +++ b/build.py @@ -1,7 +1,13 @@ +import itertools import numpy as np - def solution(array): - """ - Enter your code here - """ \ No newline at end of file + out = [] + if (type(array) == 'numpy.ndarray'): + out = np.flat(array) + out = np.unique(out) + return out + out = np.unique(array) + print out + return out + diff --git a/build.pyc b/build.pyc new file mode 100644 index 0000000..cf6528b 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..7e8824a 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..addf9b8 Binary files /dev/null and b/tests/test_solution.pyc differ