LearnPy Hub
← Matplotlib Charts problems
Medium

Read a Box Plot

Read numbers and draw ax.boxplot(data). From the returned dictionary print the median line's value (result['medians'][0].get_ydata()[0]), then the ends of the two whiskers (the second y value of each whisker line), all with :g formatting on one line.

Input

Numbers separated by spaces.

Output

One line.

Sample 1

Input
1 2 3 4 5
Output
3 1 5

Sample 2

Input
10 20 30 40 1000
Output
30 10 40
solution.py
Output appears here
Read a Box Plot · Python practice problem · LearnPy Hub