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

```
def median(x):
y = sorted(x)
for i in range(0, len(y)):
if len(y) % 2 == 0:
f = len(y)/2
s = len(y) - f
m = (f + s)/2.0
return m
elif len(y) == 1:
return float(y[0])
elif len(y) > 2:
return len(y)/2
I feel like It should work, but I don't seem to be getting anywhere.
```