DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
average of a list in function with python
def lol(a): x = sum(a)/len(a) print(x) lol([5,7,3,9,4])
Source by www.sanfoundry.com #
PREVIOUS
NEXT
Tagged:
#average
#list
#function
#python
ADD COMMENT
Topic
COMMENT
Name
5+1 =
Submit