A class grew six seedlings, each with light from one direction, and measured how far each shoot bent after three days. A minus sign means a bend to the left, and a plus sign a bend to the right. One seedling, S3, had its tip covered with foil. You will find which seedlings bent towards their light, the average bend of the side-lit ones that did, and the ones that did not respond.
The idea. Light from the left should give a bend below degrees. Light from the right should give a bend above degrees. Light from above should give a bend of degrees or less either way.
Your tasks.
towards to a list of True or False: did each seedling bend towards its light?mean_side_bend to the average size of the bend, in degrees, of the side-lit seedlings that did bend towards the light.no_response to the list of names of the seedlings that did not bend towards their light.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…