You will write three functions that say when and where a star rises. Angles are in degrees, latitude north positive.
The idea. , with unless you are told otherwise. If the right side is less than the star never sets; if more than it never rises. The rising azimuth has .
Your tasks.
kind, return "circumpolar", "never rises" or "rises and sets".hours_up, return the time above the horizon, , in sidereal hours, for a star that rises and sets.rising_azimuth, return in degrees.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…