HomeNumPy WAP to create a 1D array holding numeric values from 0 to 9. 0 Comments Facebook Twitter Q. Write a program to create a 1D array holding numeric values from 0 to 9.Answer :- import numpy as np myarray1 = np.array([i for i in range(10)]) print(myarray1)
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )