Question: Write a program that will create a workout schedule for a given number of days. In this problem, a workout is the combination of
Write a program that will create a workout schedule for a given number of days. In this problem, a workout is the combination of one strength exercise and one cardio exercise. The program should create the schedule using the following exercise options: Strength: Bench press, Squats, Chinups, Deadlifts, Tire flips . Cardio: Swimming, Biking, Running, Hiking To achieve this goal, create three separate Python lists containing the strength and cardio exercises as well as the resulting workout. Your program should do the following: 1. Ask the user for the number of days required 2. Combine one strength and one cardio exercise for each day. Since the lists are of different sizes, you may have to normalize the indices while iterating. 3. In each iteration, add a new workout to the list. You can use the append list method for this 4. Print the resulting workouts day by day For example if you run the program for 7 days you should get How many days will your workout plan last? 7 On day 1 do Bench press and Swimming On day 2 do Squats and Biking On day 3 do Chinups and Running On day 4 do Deadlifts and Hiking On day 5 do Tire flips and Swimming On day 6 do Bench press and Biking On day 7 do Squats and Running
Step by Step Solution
3.52 Rating (162 Votes )
There are 3 Steps involved in it
Certainly To create a workout schedule based on the requirements specified in the image we will writ... View full answer
Get step-by-step solutions from verified subject matter experts
