Question: ASSIGNMENT: Write a Python script that will allow first allow the user to enter the temperature in Fahrenheit and wind speed in miles per hour.

ASSIGNMENT:
Write a Python script that will allow first allow the user to enter the temperature in Fahrenheit and wind speed in
miles per hour. Ask the user if there is bright sunshine. Next, if an unacceptable temperature or wind speed is
entered, an error message should be printed and the program should end. If the temperature and wind speed pass
the error check, the formula above should be used to calculate the wind chill. If there is bright sunshine, add 15F
to the calculated wind chill. Convert both the air temperature and wind chill to C. Print the temperature in F, the
temperature in C, the wind speed, the wind chill in F, and the wind chill in C. Finally, print the time to develop
frostbite below the output values as shown in the table below. If the wind chill is above -18F, print ' No frostbite
concerns expected." instead of the TIME TO FROSTBITE: line shown.
Use the "Code_Setup.py" template on Blackboard to write your code.
Your program output will look like the illustration shown on the next page. Use your PC's cursor to determine
the horizontal and vertical spacing for the output format.
ASSIGNMENT: Write a Python script that will allow

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!