numpy array input
n, m = map(int, input().split()) # taking number of rows and column array = numpy.array([input().strip().split() for _ in range(n)], int)
numpy array input
n, m = map(int, input().split()) # taking number of rows and column array = numpy.array([input().strip().split() for _ in range(n)], int)
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))
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us