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.

Revisions

  1. eloyz revised this gist Sep 26, 2016. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions brzycki.py
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    #!/usr/bin/env python3.5

    # Brzycki in Python
    # One Rep Max Formula
    # 1 Rep Max Formula
    def brzycki(weight, reps):
    """1 Rep Max formula based on weight."""
    """One rep max formula based on weight."""
    return int(weight) * (36 / (37 - int(reps)))
  2. eloyz created this gist Sep 26, 2016.
    7 changes: 7 additions & 0 deletions brzycki.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    #!/usr/bin/env python3.5

    # Brzycki in Python
    # One Rep Max Formula
    def brzycki(weight, reps):
    """1 Rep Max formula based on weight."""
    return int(weight) * (36 / (37 - int(reps)))