A molecule is made of two chlorine atoms, each or . You will work out the share of each kind of molecule, the average molar mass of the gas, and the tallest peak. Then the program draws the spectrum.
The idea. With shares and : mass has , mass has , and mass has .
Your tasks.
peaks, return a dictionary of the share of each mass.average, the average molar mass of , in g/mol.tallest, the mass with the largest share.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…