Two alleles, and , are in a female plant and in a male plant. The egg and the two polar nuclei carry the same female allele, and both male gametes carry the same male allele. You will find the genes of the embryo and of the endosperm and count the seeds of a cross.
The idea. The embryo is the female allele plus the male allele. The endosperm is the female allele twice plus the male allele.
Your tasks.
embryo. It gives the genotype of the embryo as a word, with the capital letter first.endosperm. It gives the genotype of the endosperm in the same way.share. It gives the share of the seeds of the cross that have a given endosperm genotype, as a fraction.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…