Python code for fire detection

Print it