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
commit c889812457
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

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? (★☆☆)

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? (★☆☆)

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