📜  输入 numpy 数组 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:19.177000             🧑  作者: Mango

代码示例2
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))