Question: use python code Make a program that can detect the temperature and output the condition if the temperature is greater than 24 degrees Celsius it

use python code

Make a program that can detect the temperature and output the condition if the temperature is greater than 24 degrees Celsius it will output a "Heater" but if it is less than 24 degrees Celsius it will produce an output in the form of "AIR CONDITIONING". Use the code below to test whether the program that has been created is correct.

assert temperature (30)==print("heater") assert temperature (16)==print("AC")

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!