Skip to content

Instantly share code, notes, and snippets.

@aurorapar
Created June 18, 2016 06:17
Show Gist options
  • Save aurorapar/f99d32804f6728898cafc465c507b709 to your computer and use it in GitHub Desktop.
Save aurorapar/f99d32804f6728898cafc465c507b709 to your computer and use it in GitHub Desktop.
median = 0
if len(stats)%2 == 0:
median = (stats[len(stats)/2] + stats[len(stats)/2]) / 2
else:
stats[len(stats)/2] + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment