LearnPy Hub
← Matplotlib Charts problems
Hard

Titles on Every Subplot

Read n titles on one line. Create plt.subplots(1, n), give each axes its title, and print the titles of fig.axes joined by |.

Input

One line of n ≥ 2 words.

Output

One line.

Sample 1

Input
Sales Profit
Output
Sales|Profit

Sample 2

Input
a b c
Output
a|b|c
solution.py
Output appears here
Titles on Every Subplot · Python practice problem · LearnPy Hub