Skip to content

Instantly share code, notes, and snippets.

@eloyz
Created September 26, 2016 15:43
Show Gist options
  • Save eloyz/6ef5b5217e26d1f9ff23b0b00bdfeb04 to your computer and use it in GitHub Desktop.
Save eloyz/6ef5b5217e26d1f9ff23b0b00bdfeb04 to your computer and use it in GitHub Desktop.
Weightlifting: One rep max based on weight and repetitions
#!/usr/bin/env python3.5
# Brzycki in Python
# 1 Rep Max Formula
def brzycki(weight, reps):
"""One rep max formula based on weight."""
return int(weight) * (36 / (37 - int(reps)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment