Question: Create a program that will read a CSV - f or - file of exercises ( default exercises.csv ) and create a Workout of the
Create a program that will read a CSV f or file of exercises default exercises.csv and create a Workout of the Day
The program should accept an alternate file
The program should accept an n or num argument to control the number of exercises which are randomly chosen from the input file.
The "Reps" value will be randomly chosen from the given lowhigh range in the "reps" column
The program should accept a s or seed value for the random seed to ensure reproducibility
As well as a e or easy flag to indicate that the reps should be halved The file structure looks like this
C: cat inputsexercisescsv
exercise,reps
Burpees,
Situps,
Pushups,
Squats,
Pullups,
Handstand pushups,
Lunges,
Plank,
Crunches,
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
