Project Level 2: Intermediate
This project is designed for intermediate learners who know Python fundamentals and are practicing building complete programs.
Project Description
This program helps you track your workout routines, sets, reps, and weights. It lets you add exercises, record your progress, and review past workouts. Perfect for gym users who want to log their progress.
How the project works
The program is command line based and it starts by letting the user choose any of the options.
At first, the user may want to add an exercise type. Here the user adds a pushup and a squat exercise:
Once the user has added a few exercise types, they can log an exercise whenever they perform that exercise. Here the user has logged in the pushups exercise, declaring 3 sets of 10 reps each and 0 as extra weight.
Finally, the user see their progress by choosing option 3. View Progress:
As you can see in the last line, the program shows that the user has done a session and it displays the details about that session.
You can use procedural or functional programming to code this project, but we used object-oriented programming in the solution in the “Show Code” button. For simplicity, we are not saving the user data in any files, but simply inside the program temporarily.
Prerequisites
Required Libraries: No libraries are needed for this project.
Required Files: No files are needed for this project.
IDE: You can use any IDE on your computer to code the project.
Danger Zone
Once you code the project, compare it with our two solutions given in the button below.