Merge pull request #124 from acharles7/Q25-Enhancement

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

View File

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

View File

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

View File

@@ -277,7 +277,7 @@ hint: >, <
# Author: Evgeni Burovski # Author: Evgeni Burovski
Z = np.arange(11) Z = np.arange(11)
Z[(3 < Z) & (Z <= 8)] *= -1 Z[(3 < Z) & (Z < 8)] *= -1
print(Z) print(Z)
< q26 < q26