Three crop plants are counted in a school garden: how many flowers each has, how many ovules each ovary holds, and what share of the ovules is fertilised. You will find the seeds of each plant, the plant with the most seeds, and the total.
The idea. Seeds = flowers ovules in each ovary the share fertilised.
Your tasks.
seeds_of return the number of seeds, rounded to a whole number, for one plant.best to the name of the plant with the most seeds.total to the seeds of all three plants together.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…