Answered step by step
Verified Expert Solution
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
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