You will write a small function that counts what the light reactions make from some water molecules. You will also choose the path from the wavelength of the light, and total the photons for several leaves.
The idea. Two water molecules give one oxygen molecule, four protons and four electrons. Two electrons make one NADPH. Each electron is lifted twice, so it absorbs two photons. Light of a wavelength beyond cannot excite photosystem II.
Your tasks.
products, return a dictionary with the keys "O2", "NADPH" and "photons" for the given number of water molecules.path, return "non-cyclic" when the wavelength is or less, and "cyclic" when it is more.total_photons to the photons absorbed by the leaves in water_counts, added together.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…
With Standard, you also open 12 more problems, 2 Python labs and 1 extra course. Everything you have used here stays free, always.