LearnPy Hub
← Matplotlib Charts problems
Easy

Bar Heights

Draw a bar chart of the values and print the bar heights as a list of ints (bar.get_height()).

Input

Two lines: names, values.

Output

A list.

Sample 1

Input
A B C
3 5 2
Output
[3, 5, 2]

Sample 2

Input
X
9
Output
[9]
solution.py
Output appears here
Bar Heights · Python practice problem · LearnPy Hub