You will write three functions about light and bonds. They tell which ultraviolet light can split oxygen and ozone.
The idea. One photon carries . A mole of photons carries times as much. A photon can break a bond if its energy for one mole is at least the bond enthalpy.
Your tasks.
photon_kj(nm). It returns the energy of one mole of photons of wavelength nm, in kJ/mol.longest_nm(kj). It returns the longest wavelength, in nm, that can break a bond of kj kJ/mol.can_break(nm, kj). It returns True when light of wavelength nm can break the bond.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 join the discussion.
Loading…