You will find the energy levels and the spectral lines of any atom or ion that has one electron.
The idea. The level has energy eV. A jump gives a photon with the difference of two levels, and nm. The limit of a series has .
Your tasks.
level_energy, return the energy of the level for the charge , in eV.wavelength_nm, return the wavelength of the photon from the jump , in nm.series_limit_nm, return the wavelength at the limit of the series that ends on , in nm.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…