Medium
Histogram Counts
Draw a histogram of the values with bins
[0, 40, 70, 101] and print the counts in each bin as a list of ints (the first value plt.hist returns).Input
One line of marks 0–100.
Output
A list of 3 ints.
Sample 1
Input
35 50 72 88 40 19
Output
[2, 2, 2]
Sample 2
Input
100
Output
[0, 0, 1]
Output appears here