Untitled
unknown
plain_text
3 years ago
309 B
5
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...