You will write functions for the numbers in making a human protein in bacteria, and a lookup for the order of the steps.
The idea. Some bacteria take up a plasmid, and some of those plasmids carry the human gene. The bacteria with the gene then multiply. The steps always happen in the same order.
Your tasks.
with_gene. It gives the number of bacteria that carry the human gene.after_doublings. It gives the number of bacteria after some doublings.step_after. It gives the step that comes after a given step in the list, or "none" for the last step.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…