You will write a short function for the angles of a regular polygon, and use it to find a polygon from its angle.
Your tasks.
interior, return the interior angle of a regular polygon with n sides, in degrees.table to the list of the interior angles for n from to , in order.sides to the number of sides of the regular polygon with an exterior angle of .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…