[Tutor] largest palindrome number

Emile van Sebille emile at fenx.com
Sat Aug 27 17:28:36 CEST 2011


On 8/27/2011 8:21 AM surya k said...
> If you take a close look at my code.
>
> for i in range (1,100) :
>      for j in range (i,100) :
>         Temp = palindrome(i*j)
>
> here, as the loop goes on, i*j can never become smaller


Of course it can...  i=3 * j=90 is less than i=4 * j=4...

Emile



More information about the Tutor mailing list