Skip to content

Commit

Permalink
Numpy!
Browse files Browse the repository at this point in the history
  • Loading branch information
snehalmastud authored Feb 23, 2020
1 parent 3fccdfe commit 5ccda2b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Numpy/Floor, Ceil and Rint/Solution.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import numpy as np

np.set_printoptions(sign=' ')

a = np.array(input().split(), float)
print(*(f(a) for f in [np.floor, np.ceil, np.rint]), sep='\n')

0 comments on commit 5ccda2b

Please sign in to comment.