Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

User Steps Write a program that asks the user to enter the amount steps they would like to walk for a month. A loop should

User Steps 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: 20,000 Enter in the amount of steps for week 2: 12,000 Enter in the amount of steps for week 3: 18,000 Enter in the amount of steps for week 4: 1200 You've walked 51,200 steps. You have achieved your goal for the month. Naming Convention: cst-150-user-steps.py CAUTION: I need answer in simple while loop 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

Advances In Databases And Information Systems 23rd European Conference Adbis 2019 Bled Slovenia September 8 11 2019 Proceedings Lncs 11695

Authors: Tatjana Welzer ,Johann Eder ,Vili Podgorelec ,Aida Kamisalic Latific

1st Edition

3030287297, 978-3030287290

More Books

Students also viewed these Databases questions

Question

2 What supply is and what affects it.

Answered: 1 week ago