From d61b3a0e339ad32c8a676bdfdf2c727207d7bf6c Mon Sep 17 00:00:00 2001 From: Jaime H Rozo Date: Thu, 30 Apr 2020 01:26:07 -0300 Subject: [PATCH] Update exercises100.ktx Answer to question 9 correction: nz = np.arange(2, 11).reshape(3,3) --- source/exercises100.ktx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/exercises100.ktx b/source/exercises100.ktx index 1840c420..232210d0 100644 --- a/source/exercises100.ktx +++ b/source/exercises100.ktx @@ -85,7 +85,7 @@ Create a 3x3 matrix with values ranging from 0 to 8 (★☆☆) hint: reshape < a9 -nz = np.nonzero([1,2,0,0,4,0]) +nz = np.arange(2, 11).reshape(3,3) print(nz) < q10