Skip to content

Instantly share code, notes, and snippets.

@henrikh
Created August 22, 2009 20:42
Show Gist options
  • Save henrikh/172976 to your computer and use it in GitHub Desktop.
Save henrikh/172976 to your computer and use it in GitHub Desktop.
def average(*numbers):
return float(sum(numbers))/len(numbers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment