Skip to content
C

NumPy Statistics

Easypython

Create a NumPy array from the given numbers and print its mean, median, and standard deviation.

Approach: np.array(numbers) builds the array; np.mean(), np.median(), and np.std() compute each statistic directly.

Input: One line: 10 space-separated numbers.

Output: Three lines: Mean: <value> Median: <value> Standard Deviation: <value> each rounded to 2 decimal places.

Input (stdin)

Output

Run your code to see output here...