You will build the table of special angles in Python and use it to work out an expression.
Your tasks.
ratios, return a tuple (sin, cos, tan) for an angle in degrees, each rounded to places. When the cosine is , give None for the tangent.sine_by_pattern, return for the th special angle: for , up to for .value to , using ratios.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…