Question: Write the code for the function tempDescription. It should take temp as a parameter that represents a temperature in degrees F . It should return
Write the code for the function tempDescription. It should take temp as a parameter that represents a temperature in degrees F It should return the string "Hot" if the temp is above "Warm" if it is not above but is above "Cool" if it is not above but is above and "Cold" otherwise below
Hint: You dont have to solve it all at once. You can start with just an if that only handles temps greater than Then add an elif to handle the Warm temps. Then add one for Cool...
Make sure to return the answers and not just print them.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
