LearnPy Hub
← Matplotlib Charts problems
Easy

Figure Size

Read a width and a height in inches, create plt.figure(figsize=(w, h)) and print fig.get_size_inches().tolist().

Input

Two numbers on one line.

Output

A list.

Sample 1

Input
6 4
Output
[6.0, 4.0]

Sample 2

Input
8 3
Output
[8.0, 3.0]
solution.py
Output appears here
Figure Size · Python practice problem · LearnPy Hub