Which Way It Leans
Return the skewness of values: 0 for a symmetric data set, positive when the long tail is on the high side, negative when it is on the low side.
Example 1
values [1,2,3,4,5]
returns 0.0
The values are spread evenly around 3.
Example 2
values [1,1,1,1,10]
returns 1.5000000000000004
One value far above the rest: a long tail on the high side.
Constraints
3 <= len(values) <= 60- The values are not all equal
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.