def weather(temp):
    if temp <= 10:
        result = "COLD"
    elif temp > 10 and temp <= 25:
        result = "WARM"
    else:
        result = "HOT"
    return result

user_input = float(input("Please enter a temperature: "))
print("The weather is",weather(user_input))
8504896793c5b1ef58773d10b93dc630e5e02983
<mask token>

def weather(temp):
    if temp <= 10:
        result = 'COLD'
    elif temp > 10 and temp <= 25:
        result = 'WARM'
    else:
        result = 'HOT'
    return result


<mask token>

def weather(temp):
    if temp <= 10:
        result = 'COLD'
    elif temp > 10 and temp <= 25:
        result = 'WARM'
    else:
        result = 'HOT'
    return result


<mask token>
print('The weather is', weather(user_input))

def weather(temp):
    if temp <= 10:
        result = 'COLD'
    elif temp > 10 and temp <= 25:
        result = 'WARM'
    else:
        result = 'HOT'
    return result


user_input = float(input('Please enter a temperature: '))
print('The weather is', weather(user_input))

def weather(temp):
    if temp <= 10:
        result = "COLD"
    elif temp > 10 and temp <= 25:
        result = "WARM"
    else:
        result = "HOT"
    return result

user_input = float(input("Please enter a temperature: "))
print("The weather is",weather(user_input))