You will test whole numbers against inequalities in Python, and see the sign turn round.
Your tasks.
fits, return True when is true for x, and False otherwise.solutions to the whole numbers from to for which fits is true, in order.biggest to the largest whole number from to that satisfies .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…