Average
Returns the average of two or more numbers.
- Use
rangeto iterate over the values ofnums, adding each value tosum. - Return the result of dividing
sumwithlen(nums).
Returns the average of two or more numbers.
range to iterate over the values of nums, adding each value to sum.sum with len(nums).