Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python find the average of a list

numbers = [3, 18, 2, 1, 70, 12, 36, 12, 78, 5, 6, 9]

import statistics

print(statistics.mean(numbers))
Source by www.guru99.com #
 
PREVIOUS NEXT
Tagged: #python #find #average #list
ADD COMMENT
Topic
Name
2+2 =