A dictionary of the enzymes of digestion holds, for each enzyme, the place where it acts, what it breaks and what it makes. You will look things up in it.
The idea. A dictionary links a key (the enzyme) to a value. Here each value is a tuple of three words: place, substrate, products.
Your tasks.
product_of. It gives the products of an enzyme.acting_in. It gives a sorted list of the enzymes that act in one place.breaks. It gives the enzyme that breaks a given substrate.Run your code once to unlock the worked solution.
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…