Floor, Ceil and Rint

  • + 0 comments

    import numpy as np np.set_printoptions(legacy='1.13') m = (list(map(float,input().split()))) coms = 'np.floor np.ceil np.rint'.split() [print(eval(f'{com}({m})')) for com in coms]