Write a NumPy program to create a 3x4 matrix filled with values from 10 to 21
import numpy as np m= np.arange(10,22).reshape((3, 4)) print(m)
Sample Output:
[[10 11 12 13] [14 15 16 17] [18 19 20 21]]
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer