Programs can choose what to do. IF something is true, do one thing, ELSE do another. This function is called with a temperature, and it should answer with a word. Fill it in!
🎯 Finish the function weather(temp) so it returns "Hot" when temp is above 25, otherwise "Cool".
Output
Press Run to see what your code prints.Lesson 4 of 14 · Lesson map · Your code runs safely inside this page and is never sent anywhere.