You will write the assumed mean method and the step deviation method as functions. You will check that they agree, and then find the best number to assume.
The idea. Both methods give the exact mean of the class marks. The assumed mean method is and the step deviation method is .
Your tasks.
assumed_mean, return the mean by the assumed mean method, rounded to decimals.step_deviation, return the mean by the step deviation method, rounded to decimals.best_a to the class mark that makes the smallest.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…