Medium
Subplot Grid
Read r and c, create
plt.subplots(r, c) and print the number of axes in the figure and the shape of the axes array.Input
Two integers ≥ 1 (not both 1).
Output
Two lines.
Sample 1
Input
1 2
Output
2 (2,)
Sample 2
Input
2 2
Output
4 (2, 2)
Output appears here