LearnPy Hub
← Matplotlib Charts problems
Easy

How Many Axes?

Read rows and columns, create plt.subplots(rows, cols) and print the number of axes in the figure with len(fig.axes).

Input

Two integers.

Output

One integer.

Sample 1

Input
2
2
Output
4

Sample 2

Input
1
3
Output
3
solution.py
Output appears here
How Many Axes? · Python practice problem · LearnPy Hub