Question: Create a program in visual studio python that will prompt the user to enter the day of the week, the high temperature, and the low

Create a program in visual studio python that will prompt the user to enter the day of the week, the high temperature, and the low temperature of the day using a For Loop or a While Loop. This program will calculate the total High temps and the Low temps for all seven days of the week. The weekly average will be calculated for the Highs and the Lows.
The program will then use an If...Else to determine the following conditions;
If the High average was >=100
display "This week was very hot!"
Else If the High average was >=90
display "This week was hot!"
Else If the High average was >=80
display "This week was warm!"
Else If the High average was >=60
display "This week was mild!"
Else If the High average was >=40
display "This week was cool!"
Else If the High average was >=30
display "This week was cold!"
Else the High average was <30
display "This week was very cold!"
The program will display the last day, high temp, and low temp that was entered, a statement of the weekly high average and low average, and the statement about the temp.
The output will look like the following:
Monday 10050
The Weekly High Average was XXX
The Weekly Low Average was XXX
This week was .............!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!