You are viewing a single comment's thread. Return to all comments →
import numpy as np np.set_printoptions(legacy='1.13')
a = input().split() x = np.array(a,dtype = float)
print(np.floor(x)) print(np.ceil(x)) print(np.rint(x))
Seems like cookies are disabled on this browser, please enable them to open this website
Floor, Ceil and Rint
You are viewing a single comment's thread. Return to all comments →
import numpy as np np.set_printoptions(legacy='1.13')
a = input().split() x = np.array(a,dtype = float)
print(np.floor(x)) print(np.ceil(x)) print(np.rint(x))