### input your maxes for each lift here ### clean = 220 #210 #235 #230 #220 #210 #200 #195, 185 deadlift = 345 #340 #340 #335 #330 #330 #330 #330, 310 front_squat = 225 #215 #240 #235 #225 #215 #205 #205, 185 bench = 220 #245 #245 #240 #235 #230 #220 #210, 200 row = 130 #145 #145 #145 #145 #145 #135 #125, 115 snatch = 155 #170 #170 #165 #160 #160 #155 #145, 135 back_squat = 265 #255 #280 #280 #270 #260 #250 #245, 225 step_up = 105 #135 #135 #135 #135 #130 #125 #125, 115 push_press = 130 #145 #145 #145 #145 #140 #140 #140 #135 pull_up = 50 #50 #50 #50 #45 #40 #35 #30, 25 ### input week number ### week = 1 #round 8 ### don't touch anything below! ### ############################################################# ### calculates the weight for each set for a given lift ### def calculate_weights(week, lift): starting_max = 0.9*lift first_set = 0 second_set = 0 third_set = 0 if week == 1: first_set = 0.65*starting_max second_set = 0.75*starting_max third_set = 0.85*starting_max elif week == 2: first_set = 0.70*starting_max second_set = 0.80*starting_max third_set = 0.90*starting_max elif week == 3: first_set = 0.75*starting_max second_set = 0.85*starting_max third_set = 0.95*starting_max elif week == 4: first_set = 0.40*starting_max second_set = 0.50*starting_max third_set = 0.60*starting_max else: print 'Error: week must be 1, 2, 3, or 4' return first_set, second_set, third_set def reps(week): first_set_reps = 0 second_set_reps = 0 third_set_reps = 0 if week == 1: first_set_reps = '5 reps ' second_set_reps = '5 reps ' third_set_reps = '5 or more reps ' elif week == 2: first_set_reps = '3 reps ' second_set_reps = '3 reps ' third_set_reps = '3 or more reps ' elif week == 3: first_set_reps = '5 reps ' second_set_reps = '3 reps ' third_set_reps = '1 or more reps ' elif week == 4: first_set_reps = '5 reps ' second_set_reps = '5 reps ' third_set_reps = '5 reps ' else: print 'Error: week must be 1, 2, 3, or 4' return first_set_reps, second_set_reps, third_set_reps print 'week ' +str(week), 'tuesday' print '\nclean:' print 'set 1 = ' +str(reps(week)[0]) +str(calculate_weights(week, clean)[0]) print 'set 2 = ' +str(reps(week)[1]) +str(calculate_weights(week, clean)[1]) print 'set 3 = ' +str(reps(week)[2]) +str(calculate_weights(week, clean)[2]) print '\ndead lift:' print 'set 1 = ' +str(reps(week)[0]) +str(calculate_weights(week, deadlift)[0]) print 'set 2 = ' +str(reps(week)[1]) +str(calculate_weights(week, deadlift)[1]) print 'set 3 = ' +str(reps(week)[2]) +str(calculate_weights(week, deadlift)[2]) print '\nfront squat:' print 'set 1 = ' +str(reps(week)[0]) +str(calculate_weights(week, front_squat)[0]) print 'set 2 = ' +str(reps(week)[1]) +str(calculate_weights(week, front_squat)[1]) print 'set 3 = ' +str(reps(week)[2]) +str(calculate_weights(week, front_squat)[2]) print '\nbench:' print 'set 1 = ' +str(reps(week)[0]) +str(calculate_weights(week, bench)[0]) print 'set 2 = ' +str(reps(week)[1]) +str(calculate_weights(week, bench)[1]) print 'set 3 = ' +str(reps(week)[2]) +str(calculate_weights(week, bench)[2]) print '\nrow:' print '5x5 (moderate weight) = ' +str(row) print '\nweek ' +str(week), 'thursday' print '\nsnatch:' print 'set 1 = ' +str(reps(week)[0]) +str(calculate_weights(week, snatch)[0]) print 'set 2 = ' +str(reps(week)[1]) +str(calculate_weights(week, snatch)[1]) print 'set 3 = ' +str(reps(week)[2]) +str(calculate_weights(week, snatch)[2]) print '\nback squat:' print 'set 1 = ' +str(reps(week)[0]) +str(calculate_weights(week, back_squat)[0]) print 'set 2 = ' +str(reps(week)[1]) +str(calculate_weights(week, back_squat)[1]) print 'set 3 = ' +str(reps(week)[2]) +str(calculate_weights(week, back_squat)[2]) print '\nstep up:' print '5x5 (moderate weight) = ' +str(step_up) print '\npush press:' print 'set 1 = ' +str(reps(week)[0]) +str(calculate_weights(week, push_press)[0]) print 'set 2 = ' +str(reps(week)[1]) +str(calculate_weights(week, push_press)[1]) print 'set 3 = ' +str(reps(week)[2]) +str(calculate_weights(week, push_press)[2]) print '\nweighted pull up:' print '5x5 (moderate weight) = ' +str(pull_up)
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question