Medium
Two y-Axes
Plot the first list on
ax and the second on ax2 = ax.twinx(). Set the y labels to Sales and Profit. Print the number of axes in the figure and both labels.Input
Two lines of integers.
Output
Two lines.
Sample 1
Input
1 2 3 3 2 1
Output
2 Sales Profit
Sample 2
Input
5 6
Output
2 Sales Profit
Output appears here