Course Content
Conditional Statements in Python
Conditional Statements in Python
Challenge: Progress Tracker
Swipe to begin your solution
You're building a fitness challenge tracker for a user, and the program should monitor their progress toward a weekly fitness challenge. Based on the user's total exercise time, categorize their effort into one of the following zones:
- Super Achiever: if the user completes more than 10 hours of exercise this week.
- Hard Worker: if the user completes between 6 and 10 hours of exercise.
- Getting There: if the user completes between 3 and 6 hours of exercise.
- Needs Improvement: if the user completes less than 3 hours of exercise.
Write the program that checks the total exercise time and gives the user appropriate feedback based on these categories.
Solution
Thanks for your feedback!
Challenge: Progress Tracker
Swipe to begin your solution
You're building a fitness challenge tracker for a user, and the program should monitor their progress toward a weekly fitness challenge. Based on the user's total exercise time, categorize their effort into one of the following zones:
- Super Achiever: if the user completes more than 10 hours of exercise this week.
- Hard Worker: if the user completes between 6 and 10 hours of exercise.
- Getting There: if the user completes between 3 and 6 hours of exercise.
- Needs Improvement: if the user completes less than 3 hours of exercise.
Write the program that checks the total exercise time and gives the user appropriate feedback based on these categories.
Solution
Thanks for your feedback!