Ceil and Rint
-
Practice>Python>Numpy>Floor, Ceil and Rinthackerrank.com 2019. 3. 12. 12:53
hackerrank.comFloor, Ceil and RintProblem link : https://www.hackerrank.com/challenges/floor-ceil-and-rint/problemDifficulty : Easy Tipnumpy.set_printoptions(sign=' ')Please use this, before print any numpy arrayProblem is easy ;) no more tips are needed Solution import numpy Vs = input().split(' ') arr = numpy.array(Vs, float) numpy.set_printoptions(sign=' ') print(numpy.floor(arr)) print(numpy..