solutions update from 8444392

This commit is contained in:
rougier
2026-07-20 08:57:17 +00:00
committed by github-actions[bot]
parent 844439209a
commit bc7d42eb84
4 changed files with 211 additions and 211 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -46,7 +46,7 @@ print("%d bytes" % Z.nbytes)
`hint: np.info` `hint: np.info`
```python ```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 (★☆☆) #### 6. Create a null vector of size 10 but the fifth value which is 1 (★☆☆)
`hint: array[4]` `hint: array[4]`

View File

@@ -46,7 +46,7 @@ print("%d bytes" % Z.nbytes)
```python ```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 (★☆☆) #### 6. Create a null vector of size 10 but the fifth value which is 1 (★☆☆)

View File

@@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "94b10be0", "id": "4a87d009",
"metadata": {}, "metadata": {},
"source": [ "source": [
"# 100 numpy exercises\n", "# 100 numpy exercises\n",
@@ -18,7 +18,7 @@
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "1d0b9900", "id": "16b631f6",
"metadata": {}, "metadata": {},
"source": [ "source": [
"File automatically generated. See the documentation to update questions/answers/hints programmatically." "File automatically generated. See the documentation to update questions/answers/hints programmatically."
@@ -26,7 +26,7 @@
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "21313ae9", "id": "8c00c264",
"metadata": {}, "metadata": {},
"source": [ "source": [
"Run the `initialise.py` module, then call a random question with `pick()` an hint towards its solution with\n", "Run the `initialise.py` module, then call a random question with `pick()` an hint towards its solution with\n",
@@ -36,7 +36,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
"id": "c4ad3a14", "id": "c5fa0b45",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -46,7 +46,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
"id": "13bdf6d0", "id": "6c4f9753",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [