def IsPalindrome:
temp = str
if temp == temp[::-1]:
return 1
else:
return 0
Result = 0
for i in range(100, 1000):
for j in range (100, 1000):
if IsPalindrome(i * j) == 1 and (i * j) > Result:
Result = (i * j)
print(Result)
temp = str
if temp == temp[::-1]:
return 1
else:
return 0
Result = 0
for i in range(100, 1000):
for j in range (100, 1000):
if IsPalindrome(i * j) == 1 and (i * j) > Result:
Result = (i * j)
print(Result)