Your solution seems more elegant, but there are some problem I'm not able to solve. As you can see most of the method uses `max(data)`, `min(data)`, `len(data)` and so these quantities are computed before the if statement. In addition, at the end the output of every method is rounded and returned. How can I do it with your solution, because the only way I see is to replicate the code for every methods.