Oops, try again. median([6, 8, 12, 2, 23]) returned 7.0 instead of 8

Why 8? It should return 7.0 I am really confused!

P.S. It works fine in PyCharm, and function return is 7.0

```
def median(lst):
lst = sorted(lst)
index = int(len(lst) / 2)
len_sum = (lst[index] + lst[index - 1]) / 2.0
return len_sum
print(median([6, 8, 12, 2, 23]))
```