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:
Define a function named setstepsgoal. This function prompts the user to enter their daily steps goal.
Define a function named recorddailysteps. This function should loop 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.
Define a function named evaluateweeklyperformance. 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 fstrings.
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
