The function grade below has a fault at one edge. The test loop finds it. Fix the function so that all the cases pass.
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…