↻
⏵︎ Run
import numpy as np shape = (4, 5) arr = np.arange(1, (4*5)+1).reshape(shape) print(arr)
Output