I have the same issue. I understand the problem but i am having difficulty finding a solution.`Preformatted text`

```
def median(lst):
sorted(lst)
if (len(lst) % 2) != 0:
middle = int((((len(lst) + 1) / 2) + 1))
return lst[middle]
else :
middle1 == int(((len(lst) / 2) + 1))
middle2 == int((((len(lst) + 2) / 2) + 1))
total == (lst[middle1] + lst[middle2]) / 2
return total
```