Creating a temperature assessing script

Report a typo

Your weather website prints a response to users based on the current temperature. You have a template script but it seems to be incomplete. Fill the blanks in code so if the temperature is above 30 degrees, the program will display 'It's really hot today.' Otherwise, it will display 'It's not so hot today.' Ensure you implement the right control flow statement so the program runs as expected.

Fill in the gaps with the relevant elements
temperature = 35

 temperature > 30:
    response = "It's really hot today."
:
    response = "It's not so hot today."

print(response)
ifelse

Create a free account to access the full topic