diff --git a/100_Numpy_exercises_with_hints_with_solutions.md b/100_Numpy_exercises_with_hints_with_solutions.md index eb835330..a7c36ade 100644 --- a/100_Numpy_exercises_with_hints_with_solutions.md +++ b/100_Numpy_exercises_with_hints_with_solutions.md @@ -72,7 +72,7 @@ print(Z) `hint: reshape` ```python -nz = np.nonzero([1,2,0,0,4,0]) +nz = np.arange(0,9).reshape(3,3) print(nz) ``` #### 10. Find indices of non-zero elements from [1,2,0,0,4,0] (★☆☆)