Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python for loop: mean/average

def mean(numbers):
    total = 0
    for number in numbers:
        total += number
    return total / len(numbers)
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
8+4 =