Hi! Please explain, where is mistake? Everything works fine on my own interpretor (Python 3.4), but here not. Why?
def checkio(data): data.sort() if len(data) % 2 == 1: return data[len(data)//2] else: return (data[len(data)//2-1]+data[len(data)//2])/2