Untitled
Anonymous
plain_text
11/20/2022 6:50 PM
412 B
25
Indexable
pal = []
for x in range(900, 1000, 1):
for y in range(900, 999, 1):
if x*y % 11 == 0:
possiblePal = x*y
possiblePal = str(possiblePal)
if possiblePal == possiblePal[::-1]:
pal.append(possiblePal)
break
print(pal[-1])Editor is loading...