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