Add a solution to question 36
This commit is contained in:
1 parent
8c96897af3
commit
b8093ccf5c
1 file changed
+1
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user