Player season stats

Write codeEasy10 min

Your task

A coach wants a quick stat line for a player's season. Given points, a non-empty list of non-negative integers (points scored per game), return a list of exactly three integers: [minimum, maximum, floor of the average]. Example: [12, 7, 20, 7] gives [7, 20, 11] because floor(46/4) = 11.

Examples

point_stats(points: list[int]) -> list[int]
Example 1
Inputpoint_stats([12, 7, 20, 7])
Output[7, 20, 11]