Identities turn big multiplications into small ones. You will write two of them as functions and use them on numbers near .
The idea. For : . For two numbers equally far from : .
Your tasks.
square_near, return using , with .product_near, return using .results with square_near(97, 100), product_near(100, 9) and square_near(1004, 1000).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…
With Standard, you also open 6 more problems and 2 Python labs. Everything you have used here stays free, always.