In Python a function is a value, so you can build as a new function. You will compose two machines and find where the order does not matter.
The idea. compose(f, g) returns a new function that does g first and then f.
Your tasks.
compose, return the function .values with for , where and .same with the whole numbers from to where .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 4 more problems and 1 Python lab. Everything you have used here stays free, always.