We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b8d545 commit f531ebdCopy full SHA for f531ebd
1 file changed
README.rst
@@ -175,10 +175,10 @@ Novice
175
176
10. Create a random vector of size 1000 and find the mean value
177
178
- .. code:: python
+ .. code:: python
179
180
- Z = np.random.random(1000)
181
- m = Z.mean()
+ Z = np.random.random(1000)
+ m = Z.mean()
182
183
184
@@ -285,9 +285,9 @@ Apprentice
285
286
10. Find the nearest value from a given value in an array
287
288
289
290
- Z.flat[np.abs(Z - z).argmin()]
+ Z.flat[np.abs(Z - z).argmin()]
291
292
293
0 commit comments