Question: 1. Before starting, consider how to design the while loop. Hint: This program needs to record the each temperature of a day for the three
1. Before starting, consider how to design the while loop. Hint: This program needs to record the each temperature of a day for the three different times (three times). Think about a counter variable which will increment till the value is 3 to accept temperature from the user. a. What would be the loop condition? b. What would be the stopping criteria? c. How to modify the loop variable?

Just include the phyton code when answering this
2. Your program needs to store the different temperatures of a day apart from basic information asmentioned in the problem description. Determine what will be the most suitable sequence to store the temperatures of a day, how to calculate the average from the sequence, and where to initialize the sequence? a. Hint: Define a valid sequence which will store the temperatures of a single day, use built-in methods to calculate the average. Hint: sum() is a built-in method that returns summation of numbers in a sequence. You may need it to calculate the average temperature. average = sum of values/ total number of values 3. Once the average temperature is calculated, the program will determine the label as shown below. Hint: a conditional structure will help in this case. Average temperature of a day (in F) Letter grade 50 and =70 and = 100 Hot 4. A sample 1/0 is provided to see how the program works. You need to use the string.format() function to properly display the information. Please note sample 1/0 is provided to clarify what to be expected from the program. You may change the text/interface but the program needs to display the information as shown. 5. Test the application by hand-calculating several values and use the same values to validate the operation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
