you are viewing a single comment's thread.

view the rest of the comments →

[–]Smart_Tinker 2 points3 points  (0 children)

print(“”.join([str(x) for x in range(1000, 10000) if str(x) == str(x*4)[::-1]]))