Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals Design And Implementation

Authors: KROENKE DAVID M.

1st Edition

8120322258, 978-8120322257

More Books

Students also viewed these Databases questions

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago