Browse Source

Updated numpy_task

Vsevolod Levitan 1 year ago
parent
commit
3d2410fb1f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      numpy_task/main.py

+ 1 - 0
numpy_task/main.py

@@ -16,6 +16,7 @@ assert c.ndim == 3 and c.sum() / c.size == 1
 d = np.array([-5, -4, -3, -2, -1, 0, 1, 2, 3, 4])
 d = np.array([[-5, -4, -3, -2, -1, 0, 1, 2, 3, 4]])
 d = np.array([[[-5, -4, -3, -2, -1, 0, 1, 2, 3, 4]], [[-5, -4, -3, -2, -1, 0, 1, 2, 3, 4]]])
+d = np.arange(-5, 5, 1)
 
 assert np.all(d == np.array([-5, -4, -3, -2, -1, 0, 1, 2, 3, 4]))