A flask starts with bacteria, and each bacterium divides every minutes. You will find the number at every hour for hours, the first hour when it passes , and how many times bigger it is at the end. Then the program draws the growth on a log scale.
The idea. One hour holds two divisions, so the number is multiplied by every hour: after hours.
Your tasks.
counts to the number of bacteria at each hour in hours.first_hour to the first hour when the number is more than .times_bigger to the number at hour divided by the number at hour .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…