4 ms·or perhaps more readably, pal == str(reversed(pal))by jbellis 17y agoor perhaps more readably, pal == str(reversed(pal))