Standard Forth versus Python: a case study

Paul McGuire ptmcg at austin.rr._bogus_.com
Wed Oct 11 23:57:05 EDT 2006


<idknow at gmail.com> wrote in message 
news:1160619958.438049.53390 at h48g2000cwc.googlegroups.com...
> [snip]
>
> no sort() is needed to calculate the median of a list.
>
> you just need one temp var.
>

Ok, I'll bite.  How do you compute the median of a list using just a single 
temp var?

-- Paul 





More information about the Python-list mailing list