Merge pull request #124 from acharles7/Q25-Enhancement

Q25 minor changes
This commit is contained in:
Nicolas P. Rougier authored and GitHub committed 2020-06-15 07:21:35 +02:00
commit c889812457
3 files changed
+3 -3

No files matched your search

@@ -216,7 +216,7 @@ print(Z)
# Author: Evgeni Burovski
Z = np.arange(11)
Z[(3 < Z) & (Z <= 8)] *= -1
Z[(3 < Z) & (Z < 8)] *= -1
print(Z)
```
#### 26. What is the output of the following script? (★☆☆)
+1 -1
View File
@@ -216,7 +216,7 @@ print(Z)
# Author: Evgeni Burovski
Z = np.arange(11)
Z[(3 < Z) & (Z <= 8)] *= -1
Z[(3 < Z) & (Z < 8)] *= -1
print(Z)
```
#### 26. What is the output of the following script? (★☆☆)
+1 -1
View File
@@ -277,7 +277,7 @@ hint: >, <
# Author: Evgeni Burovski
Z = np.arange(11)
Z[(3 < Z) & (Z <= 8)] *= -1
Z[(3 < Z) & (Z < 8)] *= -1
print(Z)
< q26