You will write functions for the number of cells after some rounds, the number of rounds needed to reach a target, and the chromosomes in each cell.
The idea. After rounds of mitosis one cell has made cells. Mitosis keeps the chromosome number, so every cell has the same number as the first.
Your tasks.
cells_after. It gives the number of cells after the given number of rounds.rounds_needed. It gives the smallest number of rounds that gives at least the target number of cells.chromosomes_per_cell. It gives the number in each cell after any number of rounds.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…