LearnPy Hub
← Matplotlib Charts problems
Easy

Set a Title

Create a figure and axes with plt.subplots(), set the title to the input text and print ax.get_title().

Input

One line.

Output

The title.

Sample 1

Input
Monthly sales
Output
Monthly sales

Sample 2

Input
Marks
Output
Marks
solution.py
Output appears here
Set a Title · Python practice problem · LearnPy Hub