Question: Exercise 2 (25 points) Write a program that will create a workout schedule for a given number of days. In this problem, a workout is

 Exercise 2 (25 points) Write a program that will create a

Exercise 2 (25 points) 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: Pushups, Squats, Chinups, Deadlifts, Kettlebell swings Cardio: Running, Swimming, Biking, Jumping rope 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. This was explained in the tutorial video 3. In each iteration, add a new workout to the list. You can use 4. Print the resulting workouts day by day For example if you run the program for 7 days you should get the append list method for this How many days are you planning for? 7 On day 1 Pushups and Running On day 2 Squats and Swimming On day 3 Chinups and Biking On day 4 Deadlifts and Jump Rope On day 5 Kettlebell Swings and Running On day 6 Pushups and Swimming On day 7 Squats and Biking

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!