Write typical(values): one number that stands for a whole list of numbers. No formula given. Pick anything that seems reasonable and run it.
Five people rated a movie. Your function gets all five ratings and hands back one rating for the whole movie.
which number should come out? that’s for you to decide
typical(values)| values | a list of numbers | e.g. [5, 5, 5, 5] |
| returns | one number that stands for the whole list | |