def mc_exer_wed(w1, w2, w3): # SQUATS squatsarr = [set_calc(w1,2), set_calc(w1,1), w1] squats = "\t\t" + calcplatearr(squatsarr, 0, False, MEAS) + '\n' + "\tsquat\t" # Construct squat workout for Wednesday for i in range(0, len(squatsarr)): squatsarr[i] = str(squatsarr[i]) # For more modularity later if i==2: squats += "2x5:" + squatsarr[i] + ", " else: squats += "1x5:" + squatsarr[i] + ", " squats = squats[:-2] + "\n\n" # Remove trailing comma # PRESS pressarr = [set_calc(w2,3), set_calc(w2,2), set_calc(w2,1), w2] remove_very_light_weights(pressarr, lastsetcutoff) press = "\t\t" + calcplatearr(pressarr, 0, False, MEAS) + '\n' + "\tpress\t" # Construct press workout for Wednesday for i in range(0, len(pressarr)): pressarr[i] = str(pressarr[i]) # For more modularity later press += "1x5:" + pressarr[i] + ", " press = press[:-2] + "\n\n" # Remove trailing comma # DEADLIFT deadsarr = [set_calc(w3,3), set_calc(w3,2), set_calc(w3,1), w3] deads = "\t\t" + calcplatearr(deadsarr, 0, False, MEAS) + '\n' + "\tdead/l\t" # Construct deads workout for Wednesday for i in range(0, len(deadsarr)): deadsarr[i] = str(deadsarr[i]) # For more modularity later deads += "1x5:" + deadsarr[i] + ", " deads = deads[:-2] + "\n" # Remove trailing comma return squats + press + deads
def mc_exer_fri(w1, w2, w3): # SQUATS squatsarr = [set_calc(w1,4), set_calc(w1,3), set_calc(w1,2), set_calc(w1,1), w1, set_calc(w1,2)] squats = "\t\t" + calcplatearr(squatsarr[:-1], 0, False, MEAS) + '\n' + "\tsquat\t" # Construct squat workout for Friday for i in range(0, len(squatsarr)): squatsarr[i] = str(squatsarr[i]) # For more modularity later if i == 4: # Work set squats += "1x3:" + squatsarr[i] + ", " elif i == 5: # Drop set squats += "1x8:" + squatsarr[i] + ", " else: # Normal set squats += "1x5:" + squatsarr[i] + ", " squats = squats[:-2] + "\n\n" # Remove trailing comma # BENCH bencharr = [set_calc_pl(w2,4), set_calc_pl(w2,3), set_calc_pl(w2,2), set_calc_pl(w2,1), w2, set_calc_pl(w2,2)] bench = "\t\t" + calcplatearr(bencharr[:-1], 0, False, IMPERIAL) + '\n' + "\tbench\t" # Construct Bench workout for Friday for i in range(0, len(bencharr)): bencharr[i] = str(bencharr[i]) # For more modularity later if i == 4: # Work set bench += "1x3:" + bencharr[i] + ", " elif i == 5: # Drop set bench += "1x8:" + bencharr[i] + ", " else: # Normal set bench += "1x5:" + bencharr[i] + ", " bench = bench[:-2] + "\n\n" # Remove trailing comma if not MC_PCLEANS: rowarr = [set_calc(w3,4), set_calc(w3,3), set_calc(w3,2), set_calc(w3,1), w3, set_calc(w3,2)] offset = remove_very_light_weights(rowarr, lastsetcutoff) rows = "\t\t" + calcplatearr(rowarr[:-1], 0, False, MEAS) + '\n' + "\trows\t" # Construct Rows workout for Friday for i in range(0, len(rowarr)): rowarr[i] = str(rowarr[i]) # For more modularity later if i == 4 - offset: # Work set rows += "1x3:" + rowarr[i] + ", " elif i == 5 - offset: # Drop set rows += "1x8:" + rowarr[i] + ", " else: # Normal set rows += "1x5:" + rowarr[i] + ", " rows = rows[:-2] + "\n" # Remove trailing comma return squats + bench + rows elif MC_PCLEANS: pcleanarr = [set_calc(w3,4), set_calc(w3,3), set_calc(w3,2), set_calc(w3,1), w3, set_calc(w3,2)] offset = remove_very_light_weights(pcleanarr, lastsetcutoff) pcleans = "\t\t" + calcplatearr(pcleanarr[:-1], 0, False, MEAS) + '\n' + "\tpclean\t" # Construct Bench workout for Friday for i in range(0, len(pcleanarr)): pcleanarr[i] = str(pcleanarr[i]) # For more modularity later if i == 4 - offset: # Work set pcleans += "1x3:" + pcleanarr[i] + ", " elif i == 5 - offset: # Drop set pcleans += "1x8:" + pcleanarr[i] + ", " else: # Normal set pcleans += "1x5:" + pcleanarr[i] + ", " pcleans = pcleans[:-2] + "\n\n" # Remove trailing comma return squats + bench + pcleans + "\n \td/curl\t 2x5:add this yourself"
def mc_exer_mon(w1, w2, w3): # SQUATS squatsarr = [set_calc(w1,4), set_calc(w1,3), set_calc(w1,2), set_calc(w1,1), w1] squats = "\t\t" + calcplatearr(squatsarr, 0, False, MEAS) + '\n' + "\tsquat\t" # Construct squat workout for Monday for i in range(0, len(squatsarr)): squatsarr[i] = str(squatsarr[i]) # For more modularity later squats += "1x5:" + squatsarr[i] + ", " squats = squats[:-2] + "\n\n" # Remove trailing comma # BENCH bencharr = [set_calc_pl(w2,4), set_calc_pl(w2,3), set_calc_pl(w2,2), set_calc_pl(w2,1), w2] bench = "\t\t" + calcplatearr(bencharr, 0, False, IMPERIAL) + '\n' + "\tbench\t" # Construct bench workout for Monday for i in range(0, len(bencharr)): bencharr[i] = str(bencharr[i]) # For more modularity later bench += "1x5:" + bencharr[i] + ", " bench = bench[:-2] + "\n\n" # Remove trailing comma if not MC_PCLEANS: rowarr = [set_calc(w3,4), set_calc(w3,3), set_calc(w3,2), set_calc(w3,1), w3] #remove_very_light_weights(rowarr, lastsetcutoff) rows = "\t\t" + calcplatearr(rowarr, 0, False, MEAS) + '\n' + "\trows\t" # Construct Rows workout for Monday for i in range(0, len(rowarr)): rowarr[i] = str(rowarr[i]) # For more modularity later rows += "1x5:" + rowarr[i] + ", " rows = rows[:-2] + "\n" # Remove trailing comma return squats + bench + rows elif MC_PCLEANS: pcleanarr = [set_calc(w3,4), set_calc(w3,3), set_calc(w3,2), set_calc(w3,1), w3] #remove_very_light_weights(pcleanarr, lastsetcutoff) pcleans = "\t\t" + calcplatearr(pcleanarr, 0, False, MEAS) + '\n' + "\tpclean\t" # Construct pclean workout for Monday for i in range(0, len(pcleanarr)): pcleanarr[i] = str(pcleanarr[i]) # For more modularity later pcleans += "1x5:" + pcleanarr[i] + ", " pcleans = pcleans[:-2] + "\n" # Remove trailing comma return squats + bench + pcleans else: return Err('Was not able to complete Madcow Monday workout subroutine mc_exer_mon')