You will write a function for the slope of body temperature against air temperature, and use it to name the response of an animal.
The idea. A regulator has a slope near , and a conformer has a slope near .
Your tasks.
slope. It gives the slope of the best straight line through the points.response. It gives "regulator" for a slope below , "conformer" for a slope above , and "partial" otherwise.steadiest to the name of the animal whose body temperature has the smallest range.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…