Exercise 1.3.1 - Part 2

Write another function that takes a list as argument and returns the mean and the median of all the numbers in the list. This exercise is quite easy if you import statistics.

For this exercise, the following code:

results = mean_and_median([2, 5])
print(results)

Should give the output:

(3.5, 3.5)