You will write three functions about the sizes of features on the Moon. Sizes and distances are in km, angles in arcseconds.
The idea. A feature of width at a distance covers arcseconds. Turned round, . You can see a feature if it covers at least the limit of your eye or instrument.
Your tasks.
km_across, return the width of a feature from its angle and the distance.arcsec_for, return the angle a feature covers.can_see, return True if the feature covers at least limit arcseconds.Run your code once to unlock the worked solution.
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…