You will build a function that summarises any list of numbers: how many, the mean, the median, the range and a chance. Then it summarises the month, and the definition of a hot day is yours to choose.
The idea. A summary gives the centre, the spread and a chance, with the number of values, so a reader can judge it.
Your tasks.
summary, set mean and median.rng to the largest value minus the smallest.chance, return the share of the values for which test(v) is true.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…
With Standard, you also open 8 more problems, 3 Python labs and 1 extra course. Everything you have used here stays free, always.