From 2ac0cf16fa9ec496054e245eed36e8f92231c060 Mon Sep 17 00:00:00 2001 From: chenming <410063005@163.com> Date: Mon, 17 Feb 2020 16:40:51 +0800 Subject: [PATCH] fix Issue #101 --- 100_Numpy_exercises_with_hints_with_solutions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] (★☆☆)