"Oops try again, your code did not run to end. Check console window for errors." This is the error message.

I was expecting the part of the code I wrote to address arrays containing an even number to return a a sum of the two middle indexes that was then divided by 2.0.

```
def median(sequence):
sequence = sorted(sequence)
if len(sequence) % 2 == 1:
median = sequence[int(len(sequence)/2)]
return median
else:
len(sequence) % 2 == 0
median = sequence[int(len(sequence)/2)] + sequence[int(len(sequence/2)-1)] / 2.0
return median
```