Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
309 B
2
Indexable
Never
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])