Created
April 1, 2017 02:25
-
-
Save danielscarvalho/63693b246e8ea982a544ed9141e26c97 to your computer and use it in GitHub Desktop.
List Average
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def getAverage(values): | |
return sum(values) / float(len(values)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment