not sure I follow...
"If the list contains an even number of elements, your function should return the average of the middle two."
I got the error: "Oops, try again. median([4, 5, 5, 4]) returned 5 instead of 4.5"
So... would the average of five and five not be five?
def median(seqq): length = len(seqq) if length % 2 == 0: answer = (seqq[(length/2)-1] + seqq[length/2]) / 2 else: nub = length/2 answer = seqq[nub] return answer