The National Weather Service computes the wind chill index using the following formula:What do i need to do to define the windChill?

snowlovelydayM

snowlovelydayM

Answered question

2021-08-12

So, this is the problem:
The National Weather Service computes the wind chill index using the following formula:
35.74 + 0.6215T – 35.75(V0.16) + 0.4275T(V0.16) Where T is the temperature in degrees Fahrenheit, and V is the wind speed in miles per hour.
Write a program that prints a nicely formatted table of wind chill values. Rows should represent wind speed for 0 to 50 in 5-mph increments, and the columns represent temperatures from -20 to +60 in 10 degree increments. Create a function for the wind chill with the following specifications: windChill(t, v) Note: this formula only applies for wind speeds in excess of 3 miles per hour.
This is what I have so far:
def windChill(t,v): if < 3
def main():
print("Wind Chill Table")
print("Temperature".center(70))
print ("MPH|",end=)
temps = list(range(-20,61,10))
for t in temps:
print("{0:5}".format(t),end=

Answer & Explanation

Brittany Patton

Brittany Patton

Skilled2021-08-13Added 100 answers

if v > 3:
t=(35.74+0.6215t)(35.75(v0.16))+(0.4275t(v0.16))
You should have that inside your windChill function and your windChill function should return t. I hope this helps!

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?