Skip to content

Instantly share code, notes, and snippets.

@akayj
Last active January 12, 2016 03:59
Show Gist options
  • Save akayj/bc8fd71046c691e56291 to your computer and use it in GitHub Desktop.
Save akayj/bc8fd71046c691e56291 to your computer and use it in GitHub Desktop.
Tiny palindrome
palindrome = lambda s: s == s[::-1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment