A sample of semen is described by its volume, the number of sperms in each mL and two shares. You will count the sperms, apply the two tests of the textbook and check a list of samples.
The idea. The textbook asks for at least of sperms with normal shape and size, and at least with vigorous motility. Both must be met.
Your tasks.
total_sperms. It gives the sperms in the sample, in millions.meets_tests. It gives True if both textbook tests are met.count_fertile. It gives how many samples in the list meet both tests.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…