LearnPy Hub
← NumPy problems
Easy

Sum and Mean

Read integers into a NumPy array and print the sum, then the mean with 2 decimals.

Input

One line of integers.

Output

Two lines.

Sample 1

Input
1 2 3 4
Output
10
2.50

Sample 2

Input
10
Output
10
10.00
solution.py
Output appears here
Sum and Mean · Python practice problem · LearnPy Hub