A small program counts the fibres and the nuclei of a model skeletal muscle, and lists the kinds of muscle that are under the control of the will.
The idea. A muscle holds bundles. Each bundle holds the same number of fibres, and each fibre has many nuclei. The dictionary kinds gives, for each kind of muscle, whether it is striated and whether it is voluntary.
Your tasks.
fibres_in. It gives the number of fibres.nuclei_in. It gives the number of nuclei.voluntary_kinds. It gives the list of the kinds of muscle that are voluntary.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…