DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python average
def
avrg
(
values
)
:
# where values is a list of all values
return
sum
(
values
)
/
len
(
values
)
PREVIOUS
NEXT
Tagged:
#python
#average
ADD COMMENT
Topic
COMMENT
Name
8+3 =
Submit