Created
September 26, 2016 15:43
-
-
Save eloyz/6ef5b5217e26d1f9ff23b0b00bdfeb04 to your computer and use it in GitHub Desktop.
Weightlifting: One rep max based on weight and repetitions
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
#!/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