You will write two small functions that change the unit of an angle, and use one of them to write angles as multiples of .
The idea. rad . So multiply by for radians, and by for degrees. An angle of degrees is of .
Your tasks.
to_radians(deg).to_degrees(rad).multiples with each angle of angles as a multiple of . For it would be .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…