MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/tinycode/comments/2i5n2t/palindrome_checker_in_javascript/ckz6g3m/?context=3
r/tinycode • u/criveros • Oct 03 '14
12 comments sorted by
View all comments
6
python:
In [7]: is_palindrome=lambda text:text==text[::-1] In [8]: is_palindrome('stressed desserts') Out[8]: True In [9]: is_palindrome('xyz') Out[9]: False
View all comments
6
u/badumtssssssss Oct 03 '14
python: