You will write three functions about the equation of time. Angles inside the rule are in degrees, and the answers are in minutes.
The idea. The equation of time on day is minutes, with . The clock shows the sundial time minus .
Your tasks.
equation_of_time, return for the day number.clock_minutes, return the clock time in minutes after midnight when a sundial shows dial minutes after midnight on day day.days_ahead, return the number of days in the year with .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…