You are viewing a single comment's thread. Return to all comments →
import numpy
numpy.set_printoptions(legacy='1.13')
A = list(map(float, input().split()))
print(numpy.floor(A))
print(numpy.ceil(A))
print(numpy.rint(A))
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
numpy.set_printoptions(legacy='1.13')
A = list(map(float, input().split()))
print(numpy.floor(A))
print(numpy.ceil(A))
print(numpy.rint(A))