LearnPy Hub
← Matplotlib Charts problems
Easy

Two Axes Side by Side

Create fig, axes = plt.subplots(1, 2). Set the input words as the titles of the two axes and print both titles on one line.

Input

Two lines.

Output

One line.

Sample 1

Input
Left
Right
Output
Left Right

Sample 2

Input
Before
After
Output
Before After
solution.py
Output appears here
Two Axes Side by Side · Python practice problem · LearnPy Hub