Question: use python.Write a function named core _ temp that takes the core temperature ( in Celsius ) of a nuclear reactor and returns the following

use python.Write a function named core_temp that takes the core temperature (in Celsius) of a nuclear reactor and returns the following responses:
'core is shut down' if the temperature is lower than 200
'core is below optimum' if the temperature is larger or equal than 200 but smaller than 300
'core is at optimum' if the temperature is 300
'core is above optimum' if the temperature is larger than 300 and smaller than 1800
'run for your life' if the temperature is larger or equal than 1800

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!