Pekka Karjalainen wrote:

> You can omit the call to math.sqrt if you test this instead.
>
>     y*y > x
>
> in place of if y > maxfact: .

Or use

        sqrt = lambda x: x ** .5

Cheers,

-- 
Klaus Alexander Seistrup
http://klaus.seistrup.dk/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to