Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

input numpy array

import numpy

my_array = []
a = int(input("Size of array:"))
for i in range(a):
    my_array.append(float(input("Element:")))
my_array = numpy.array(my_array)
print(numpy.floor(my_array))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #input #numpy #array
ADD COMMENT
Topic
Name
9+5 =