From c6840487d9e1fc169e725522358fa496f13e4be0 Mon Sep 17 00:00:00 2001 From: Overman Date: Wed, 8 Jul 2026 18:55:36 +0800 Subject: [PATCH] Fix solution for exercise 5 --- 100_Numpy_exercises_with_hints_with_solutions.md | 2 +- 100_Numpy_exercises_with_solutions.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/100_Numpy_exercises_with_hints_with_solutions.md b/100_Numpy_exercises_with_hints_with_solutions.md index 15c40cb..08e2fd9 100644 --- a/100_Numpy_exercises_with_hints_with_solutions.md +++ b/100_Numpy_exercises_with_hints_with_solutions.md @@ -46,7 +46,7 @@ print("%d bytes" % Z.nbytes) `hint: np.info` ```python -%run `python -c "import numpy; numpy.info(numpy.add)"` +!python -c "import numpy; numpy.info(numpy.add)" ``` #### 6. Create a null vector of size 10 but the fifth value which is 1 (★☆☆) `hint: array[4]` diff --git a/100_Numpy_exercises_with_solutions.md b/100_Numpy_exercises_with_solutions.md index 1032820..80bd9d8 100644 --- a/100_Numpy_exercises_with_solutions.md +++ b/100_Numpy_exercises_with_solutions.md @@ -46,7 +46,7 @@ print("%d bytes" % Z.nbytes) ```python -%run `python -c "import numpy; numpy.info(numpy.add)"` +!python -c "import numpy; numpy.info(numpy.add)" ``` #### 6. Create a null vector of size 10 but the fifth value which is 1 (★☆☆)