A flask starts with bacteria, and each divides every minutes, so the number is multiplied by every hour. But the flask can hold only cells. You will find the count at each hour, the first hour when the flask is full, and how many hours the culture keeps growing. Then the program draws the growth on a log scale.
The idea. Without a limit the count would be after hours. The food runs out at the capacity, so the count can never pass it.
Your tasks.
counts to the number at each hour in hours, never more than capacity.first_full to the first hour when the count equals capacity.hours_growing to the number of hours in which the count went up from the hour before.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…