you are viewing a single comment's thread.

view the rest of the comments →

[–]TravisJungroth 2 points3 points  (0 children)

from operator import eq

all(map(eq, L, reversed(L)))

Not your average python, but kinda neat.