I'm trying to get a ValueError if temperature is greater then 50 or less then 3 but it ignores the except and returns nothing Here's the code:
def windChill(temperature, windSpeed):
    
    try:
        temperature = float(temperature)
        windSpeed = float(windSpeed)
        if temperature <= 50 and windSpeed >= 3:
            
            Equation =  35.74 + 0.6215*temperature - 35.75*(windSpeed)**0.16 + 0.4275*temperature*(windSpeed)**0.16
            print (round(Equation,1))
    except ValueError:
        print ('Temperature cannot be greater then 50')
        
windChill(400,1)
 
     
     
    