I’m having a bit of trouble finding the median for a list of an odd amount of numbers. Please help.

```
def median(number_list):
number_list = sorted(number_list)
if len(number_list) % 2 != 0:
# Odd amount of numbers
result = number_list[len(number_list) / 2]
else:
# Even amount of numbers
result = number_list[(len(number_list) / 2) + (len(number_list) / 2 - 1) / 2]
return result
print median([1, 3, 5, 6, 9, 10])
```

**median([4, 5, 5, 4]) returned 5 instead of 4.5**