Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 1: Workout Create an empty list called workout. 50 points Now using a loop take 5 numbers as inputs from keyboard. These inputted

 

Problem 1: Workout Create an empty list called workout. 50 points Now using a loop take 5 numbers as inputs from keyboard. These inputted numb represent the number of hours you worked out per day in last week from Monday to Frid Insert/append those input items/values into the workout list. So, the first item of the list indicates the number of hours you worked out Monday, the second item indicates the number of hours you worked out in Tuesd and so on and so forth. Print out the list items. Find the maximum value from the list. Print out the day you worked out the most. Find the minimum value from the list. Print out the day you worked out the least. Find the average of the list items. Print out the average hours you worked out per day. If the average is less than 0.5 hours then print "You are working out less" the average is within 0.5 to 0.75 hours then print "You are working out well" the average is more than 0.75 hours then print "You are doing very well" the average is more than 2 hours then print "Don't try too hard" You must submit both .txt and .py files, and the report as well.

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_2

Step: 3

blur-text-image_3

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

Discovering Advanced Algebra An Investigative Approach

Authors: Jerald Murdock, Ellen Kamischke, Eric Kamischke

1st edition

1559539844, 978-1604400069, 1604400064, 978-1559539845

More Books

Students also viewed these Algorithms questions

Question

Evaluate each expression if possible. -V0.49

Answered: 1 week ago

Question

Simplify each of the following.

Answered: 1 week ago

Question

Evaluate each of the following expressions to six-figure accuracy.

Answered: 1 week ago

Question

Evaluate each of the following expressions to six-figure accuracy.

Answered: 1 week ago