A billionaire walks into a bar. Write typical_person(salaries): a salary that describes a typical person in the room. It starts as the fair share from the last puzzle.
Five people are in a bar, and one of them is a billionaire. Your function gets everyone’s salary and hands back the salary of a typical person in the room.
which salary should come out? that’s for you to decide
typical_person(salaries)| salaries | one number per person in the room, in thousands | e.g. [40, 45, 50, 52, 1000000] |
| returns | the salary of a typical person | |