Easy
average(nums)
Write
average(nums) that returns the mean of a list. Read integers and print the average with 2 decimals.Input
Integers separated by spaces.
Output
One number.
Sample 1
Input
1 2 3 4
Output
2.50
Sample 2
Input
10
Output
10.00
Output appears here