Question
PYTHON: Windchill During winter, everyone would like to know the windchill factor, especially, before going out.Meteorologists use the following formula to compute the windchill factor:
PYTHON: Windchill During winter, everyone would like to know the windchill factor, especially, before going out.Meteorologists use the following formula to compute the windchill factor: windchill = 35.74 + 0.6215 * temperature - 35.75 * speed**0.16 + 0.4275 * temperature * speed**0.16 where temperature is in degrees Fahrenheit, and speed is the wind speed in miles per hour. Write a program that prompts the user to input the wind speed in miles per hour, and the temperature in degrees Fahrenheit. The program will then display the windchill factor to 1 decimal place. The program must contain at least two functions: one to get the user input and return the temperature and wind speed, and the other to calculate the windchill and return it when passed the temperature and wind speed. The program should contain a loop that allows the user to calculate more than one windchill factor.
Python 3.64 Shell File Edit Shel Debug Options Window Help Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)] on win32 Type "copyright", "credits" or "license )" for more information. -RESTART: P: /Cmpsc131/Programming Assignment Solutions/PA11windchill.py This program calculates the windchill from the fahrenheit temperature and the wind speed. Enter the fahrenheit temperature: 30 Enter the wind speed: 20 The windchill is: 17.4 Would you like to calculate another windchill? Enter "y" or "n": y Enter the fahrenheit temperature:0 Enter the wind speed: 15 The windchill is: -19.4 Would you like to calculate another windchill? Enter "y" or "n": nStep 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