Each group on a benzene ring directs the next substituent to the meta position or to the ortho and para positions. You will put a table of directors to work.
The idea. If every position were equally likely, a ring with one group would give 2 ortho, 2 meta and 1 para product. A real group changes these shares.
Your tasks.
place_nitro to the directing class of the nitro group, "meta" or "ortho-para".meta_directors to the sorted list of the groups that direct meta.percent_para to the percentage of para product if all positions were equally likely.para_over_ortho to the ratio of the para share to the ortho share of toluene, from the data.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…