Exercise 15/15 for Practice makes perfect.

Error: Oops, try again. median([4, 5, 5, 4]) returned 5.0 instead of 4.5

I don't understand why it keeps saying this, when it should have been sorted by this point already.

```
def median(moot):
size = len(moot)
m = sorted(moot)
if size % 2 == 0:
half = size / 2
average = (m[half] + m[half+1]) / 2.0
return average
elif size == 1:
return m[0]
else:
medin = m[((size / 2) + 1)]
return medin
```