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
Output appears here