Question
Write a program that asks the user to enter the amount steps they would like to walk for a month. A loop should then prompt
Write a program that asks the user to enter the amount steps they would like to walk for a month. A loop should then prompt the user to enter the steps for each week and keep a running total. When the loop finishes, the program should display the amount of total step and let the user know if they have achieved their desired steps or not. Sample Run: How many steps would you like to walk for the month? 50,000 How many weeks are in the month? 4 Enter in the amount of steps for week 1: 20000 Enter in the amount of steps for week 2: 12000 Enter in the amount of steps for week 3: 18000 Enter in the amount of steps for week 4: 1200 You've walked 51,200 steps. You have achieved your goal for the month.
Python
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started