Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to use a function to find the average in python

 avreage_cost = cost
    avg = sum(avreage)/len(avreage) 
    print("The average amout you spent is ", round(avg,2))
 
PREVIOUS NEXT
Tagged: #function #find #average #python
ADD COMMENT
Topic
Name
8+6 =