You will solve a quartic by a substitution, and count whole numbers that satisfy a cubic inequality.
Your tasks.
quartic_solutions, solve . Find the values of from the quadratic , keep the ones that are zero or more, and return the sorted list of real .fits, return True when .count to the number of whole numbers from to that fit.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…