Merge pull request #117 from Haksell/suggest36

Add a solution to question 36
This commit is contained in:
Nicolas P. Rougier authored and GitHub committed 2020-05-04 07:57:24 +02:00
commit 493c48d101
1 file changed
+1
+1
View File
@@ -432,6 +432,7 @@ hint: %, np.floor, astype, np.trunc
Z = np.random.uniform(0,10,10)
print(Z - Z%1)
print(Z // 1)
print(np.floor(Z))
print(Z.astype(int))
print(np.trunc(Z))