diff --git a/build.py b/build.py index ca073ba..e06b9c3 100644 --- a/build.py +++ b/build.py @@ -1,4 +1,13 @@ -def solution(array): +import numpy as np +def solution(arr): """ Enter code here - """ \ No newline at end of file + """ + shape = list(np.shape(arr)) + a = shape[0] + b = shape[1] + for i in range(1,a): + arr[i,1:b-1] = 0 + print arr + return arr +#https://stackoverflow.com/questions/26975769/modify-a-particular-row-column-of-a-numpy-array diff --git a/build.pyc b/build.pyc new file mode 100644 index 0000000..1cc291d 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..52cfae8 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..305c731 Binary files /dev/null and b/tests/test_solution.pyc differ