[Tutor] OverflowError in lucky numbers script

Blockheads Oi Oi breamoreboy at yahoo.co.uk
Mon Jan 23 08:02:13 CET 2012

On 23/01/2012 06:15, Shreesh bhat wrote:
> Calculating the table is fast.
> I think either my luckiness test (where i find the sum of all digits and
> sum of squares of all digits of a large number)
> or generating numbers is slow.

Don't think, know :) Tools like the profile or timeit modules are there 
for a purpose so use them.


Mark Lawrence.

More information about the Tutor mailing list