You will solve by cases, and keep only the answers that really work.
Your tasks.
candidates, return the two candidates from the two cases: and .works, return True when the right side is zero or more at x.solutions to the sorted list of true solutions of .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…