November 3rd, 2013, 09:15 AM
I feel that my coding is right, but I always get the wrong median. May I have some assistance with this? Thanks!
i figured it out!
November 3rd, 2013, 12:43 PM
Maybe you could elaborate?
November 3rd, 2013, 02:33 PM
sort the data, then the median is
and if len(data) is even then so what, no one ever used a median anyway,
and if they tell you it should be the average of the two center values and "they" is your boss then just do it,
and always avoid philosophical arguments about the definition of median for an even sized data set.
[/code] are essential for python code and Makefiles!