The list is [4, 5, 5, 4] and my first term is 4 like it's supposed to be but the second prints out as 3 when it's supposed to be the number 5 at index 3.

def median(numbers):

```
#sort
numbers = sorted(numbers)
#median values
term1 = numbers[len(numbers)/2]
term2 = numbers[(len(numbers)/2)-1]
print term1
print term2
odd_median = numbers[len(numbers)/2]
#if even
if len(numbers) % 2 == 0:
result = term1 + term2 / 2.0
#if odd
if len(numbers) % 2 != 0:
result = odd_median
return result
```