Skip to content

Commit 8f20fec

Browse files
committed
New file
1 parent c89d99c commit 8f20fec

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Floor, Ceil and Rint.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import numpy
2+
3+
4+
numpy.set_printoptions(sign=' ')
5+
x = list(map(float, input().split()))
6+
7+
my_arr = numpy.array(x)
8+
9+
print(numpy.floor(my_arr))
10+
print(numpy.ceil(my_arr))
11+
print(numpy.rint(my_arr))

0 commit comments

Comments
 (0)