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