Answers for "python mean("

8

python average

def avrg(values): # where values is a list of all values
  return sum(values)/len(values)
Posted by: Guest on March-27-2021
2

mean python code

>>> import statistics

>>> statistics.mean([4, 8, 6, 5, 3, 2, 8, 9, 2, 5])
5.2
Posted by: Guest on August-12-2020

Python Answers by Framework

Browse Popular Code Answers by Language