Floor, Ceil and Rint

  • + 0 comments

    code is

    import numpy

    numpy.set_printoptions(legacy='1.13')

    my_arr = list(map(float, input().split()))

    print(numpy.floor(my_arr)) print(numpy.ceil(my_arr)) print(numpy.rint(my_arr))