You will write three functions that help plan a mission to the outer Solar System.
The idea. A radio signal takes , with . Sunlight at AU from the Sun is of the sunlight at the Earth. In this lab a probe needs a nuclear power source when the sunlight is less than of the Earth's.
Your tasks.
delay_minutes, return the one-way delay in minutes for a distance in km.sunlight_share, return the share of the Earth's sunlight, as a fraction, at a distance in AU.needs_nuclear, return True if the share is less than 0.04.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…