Down group 1 the melting points fall; down group 17 the boiling points rise. You will write two tests for a falling and a rising list, check both groups, and find the spread of the halogens' boiling points. Then the program draws both.
The idea. A list falls if every value is lower than the one before it, and rises if every value is higher.
Your tasks.
falls, return True if every value is lower than the one before.rises, return True if every value is higher than the one before.spread, the highest boiling point of the halogens minus the lowest, in kelvin.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…