HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Python Labs
  2. /The easiest metal to ionise in water
ChemistryMediumHigh School (11–12)Hydrogen and the s-Block Elements

The easiest metal to ionise in water

You will write three functions that use the three-step cycle for M(s) → M+(aq)\text{M}(\text{s})\ \rightarrow \ \text{M}^{+}(\text{aq})M(s) → M+(aq). The data are in a dictionary: for each metal, the atomisation, first ionisation and hydration enthalpies in kJ/mol.

The idea. The total of the three steps is smallest for the metal that turns into its ion in water most easily.

Your tasks.

  1. Complete total(metal). It returns the sum of the three values.
  2. Complete easiest(). It returns the metal with the smallest total.
  3. Complete gap(a, b). It returns how much larger the total of b is than that of a.

Run it first, just as it is. The checker at the end prints FAIL for each task. Then do the tasks one at a time, and run the program again after each one. A Hint appears under every check that still fails.

When every line says PASS, change the hydration enthalpy of lithium to -470. Does the easiest metal change?

StemPy LabContributed by StemPy Lab
python
Loading Python runtime…

A worked solution

Run your code once to unlock the worked solution.

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 save
← All Labs
← Strength of a hydrogen peroxide solutionWhen do the carbonates break up? →
More onHydrogen and the s-Block Elements

Discussion (0)

Log in to join the discussion.

Loading…

More labs on this topic

  1. Name the s-block compoundMedium
  2. The Solvay process in numbersMedium
  3. When do the carbonates break up?Medium
  4. Strength of a hydrogen peroxide solutionMedium
  5. Hardness from an EDTA titrationMedium
All labs on this topic →