I am trying to make a Workout Routine Generator in Python. I have made lists of exercises for each muscle group to work out. I am having trouble making different exercise lists that pull a random exercise from the muscle group lists. The exercise lists I have paired with specific days of the week. Also need help with getting rid of the last comma that separates each printed exercise.
#Muscle Group Exercises
Chest= ["Barbell Bench Press", "Flat Bench Dumbbell Press", "Pushups", "Machine Decline Press", "Seated Machine Chest Press", "Incline Dumbbell Press", "Chest Dips", "Incline Bench Cable Fly", "Incline Dumbell Pull-Over", "Pec-Deck Machine"]
Back= ["Barbell Deadlift", "Bent-Over Barbell Deadlift", "Wide-Grip Pull-Up", "Standing T-Bar Row", "Wide-Grip Seated Cable Row", "Reverse-Grip Smith Machine Row", "Close-Grip Pull-Down", "Single-Arm Dumbbell Row", "Decline Bench Dumbbell Pull-Over", "Single-Arm Smith Machine Row"]
Shoulders= ["Barbell Push Press", "Standing Military Press", "Dumbbell Incline Row", "Seated Overhead Dumbbell Press", "Seated Overhead Barbell Press", "Upright Row", "Arnold Press", "Machine Rear-Delt Fly", "Dumbbell Lateral Raise", "Front Dumbbell Raise"]
Legs= ["Squat", "Leg Curl", "Olympic Lift: Snatch and Power Clean", "Leg Extension", "Bulgarian Split Squat", "Hack Squat", "Dumbbell Lunge", "Leg Press", "Romanian Deadlift", "Machine Squat"]
Biceps= ["Standing Dumbbell Curl", "Hammer Curl", "Incline Dumbbell Curl", "Zottman Curl", "Barbell Bent-over Row", "Chin-up", "Regular EZ Bar Curl", "Underhand Seated Row", "Preacher Curl"]
Triceps= ["Close-grip Bench Press", "Rope Tricep Pushdown", "Tricep Dips", "Overhead Triceps Extension", "Skullcrushers", "Diamond Pushups", "Tricep Kickback", "Dumbbell Press", "Pushups", "One Arm Kettlebell Press"]
Aerobic= ["mile run", "jumping jacks", "sprints", "burpees", "cycling"]
#How I tried to pull randomly from lists
import random
a = Chest[random.randint(0, len(Chest)-1)]
b = Back[random.randint(0, len(Back)-1)]
c = Shoulders[random.randint(0, len(Shoulders)-1)]
d = Legs[random.randint(0, len(Legs)-1)]
e = Biceps[random.randint(0, len(Biceps)-1)]
f = Triceps[random.randint(0, len(Triceps)-1)]
g = Aerobic[random.randint(0, len(Aerobic)-1)]
exercise1= ["a", "b", "c", "d", "e", "f"]
exercise2= ["d", "f", "e", "a", "b", "c"]
exercise3= ["c", "b", "a", "d", "f", "e"]
exercise4= ["g"]
Rest= ["Recovery Day"]
#Workout Routine Organizer
w = [['Monday:',exercise1], ['Tuesday:',Rest], ['Wednesday:',exercise2], ['Thursday:',Rest], ['Friday:',exercise3], ['Saturday:',exercise4], ['Sunday:',Rest]]
y=0
for list in w:
print(w[y][0])
for x in w[y][1]:
print (x, end= ", ")
print("\n")
y+=1