You will write three functions that turn a sunspot count or two drawings into numbers about the Sun. Angles are in degrees.
The idea. The sunspot number is . A spot on the equator at of the radius from the middle is at a longitude . If it moves from to in days, the Sun turns once in days.
Your tasks.
sunspot_number, return .longitude, return the longitude in degrees for a position x between and .rotation_period, return the days for one turn, from two positions and the days between them.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…