Floor, Ceil and Rint

  • + 0 comments
    import numpy as np
    np.set_printoptions(legacy='1.13')
    arr = np.array(input().split(),float)
    print(np.floor(arr),np.ceil(arr),np.rint(arr),sep='\n')