Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to find avrage python

# Example to find avearge of list
from numpy import mean
number_list = [45, 34, 10, 36, 12, 6, 80]
avg = mean(number_list)
print("The average is ", round(avg,2))
Source by www.guru99.com #
 
PREVIOUS NEXT
Tagged: #find #avrage #python
ADD COMMENT
Topic
Name
6+1 =