You will write functions that work with a table of standard potentials. One finds the cell potential of two half-cells. One says whether a cell works. You will also find the best pair of electrodes in the table.
The idea. . A cell works when this is positive.
Your tasks.
cell_potential(cathode, anode) so that it returns the cell potential in volts.works(cathode, anode) so that it returns True when the cell potential is positive.best to the pair (cathode, anode) that gives the largest cell potential of all.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…