A dictionary holds the parts of the axial skeleton, with the number of bones in each part, as NCERT gives them. You will add the parts, and then sort the ribs.
The idea. A human has 12 pairs of ribs. Pairs 1 to 7 are true ribs, pairs 8 to 10 are false ribs, and pairs 11 and 12 are floating ribs.
Your tasks.
total_bones. It adds the numbers in a dictionary.rib_kind. It gives "true", "false" or "floating" for a pair of ribs from 1 to 12.ribs_not_on_sternum. It gives the number of ribs, on both sides, that do not reach the sternum directly.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…