You will write three small tools that help you sort and count isomers.
The idea. The degrees of unsaturation of with x halogens are . A molecule with k different stereocentres has at most stereoisomers. An isomer is described by three things: its carbon skeleton, its functional group and the position of that group.
Your tasks.
dbe, return the degrees of unsaturation.stereo_max, return the largest number of stereoisomers for k different stereocentres.kind, compare two isomers. Return "functional" if the groups differ, else "chain" if the skeletons differ, else "position" if the positions differ, else "same".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 11 more problems, 2 Python labs and 1 extra course. Everything you have used here stays free, always.