Medium
Reshape
Read r and c, then print
np.arange(r * c).reshape(r, c) one row per line with values separated by spaces.Input
Two integers.
Output
r lines.
Sample 1
Input
2 3
Output
0 1 2 3 4 5
Sample 2
Input
1 1
Output
0
Output appears here