Skip to content

Commit a7dcefe

Browse files
authored
Arrays in python
1 parent 92ca7ce commit a7dcefe

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Arrays.java

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import numpy
2+
def arrays(arr):
3+
# complete this function
4+
# use numpy.array
5+
arr=map(float,arr)
6+
b=arr.reverse()
7+
a=numpy.array(arr)
8+
return a
9+
10+
arr = raw_input().strip().split(' ')
11+
result = arrays(arr)
12+
print(result)

0 commit comments

Comments
 (0)