Easy
Horizontal Bars
Read names and values, draw
ax.barh(names, values) and print the widths of the bars as a list of ints (bar.get_width()).Input
Two lines.
Output
A Python list.
Sample 1
Input
A B C 1 2 3
Output
[1, 2, 3]
Sample 2
Input
Tea 5
Output
[5]
Output appears here