Paul Rubin <http://[EMAIL PROTECTED]> writes:
> > fun median {
> >  var x = 0.
> >   while( *p++) {
> >     if( (*p) > x) x = *p.
> >   }
> >   return x.
> > }
> 
> I count two variables, p and x.

Also, that finds the maximum, not the median.  I had stopped examining
it after seeing it used more than one variable.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to