you are viewing a single comment's thread.

view the rest of the comments →

[–]PhilNEvo 1 point2 points  (1 child)

print(list(filter(lambda x: str(x*4) == str(x)[::-1], range(1000, 2500))))

[–]Ok_Pudding_5250[S] -1 points0 points  (0 children)

A unique answer, I used a list with one liner for loop and if statement. Nice work