LearnPy Hub
← Matplotlib Charts problems
Medium

A Line at the Average

Plot the values as a line, then add a horizontal line at their mean with ax.axhline. Print the mean line's y data as two numbers with 2 decimals and the number of lines on the axes.

Input

One line of integers.

Output

Two lines.

Sample 1

Input
1 2 3 4
Output
2.50 2.50
2

Sample 2

Input
5
Output
5.00 5.00
2
solution.py
Output appears here
A Line at the Average · Python practice problem · LearnPy Hub