Question: Objective: Write a Python program to help users track their physical activity by comparing their daily steps against a set goal. Problem Description: 1 .

Objective: Write a Python program to help users track their physical activity by comparing their daily steps against a set goal.
Problem Description:
1. Define a function named set_steps_goal. This function prompts the user to enter their daily steps goal.
2. Define a function named record_daily_steps. This function should loop 7 times, once for each day of the week, asking the user to input the number of steps taken for that day. It keeps a running total of the steps.
3. Define a function named evaluate_weekly_performance. After recording daily steps, this function calculates the average steps per day for the week and compares it with the daily steps goal set by the user. It should then display:
The user's average daily steps for the week.
Whether the user met, exceeded, or did not meet their daily steps goal on average.
Requirements:
Use only def, while, and if statements.
For all print functions, use f-strings.

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 Programming Questions!