Floor, Ceil and Rint

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