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

why

def median(l):

```
if len(l)%2 == 0:
return (sorted(l)[(len(l)-2)/2] + sorted(l)[len(l)/2])/2
else:
return sorted(l)[(len(l)-1)/2]
```

print median([1,2,3,4])

print median([1,3,2])