Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to find avrage python

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