Skip to content

Instantly share code, notes, and snippets.

@calthoff
Created April 10, 2018 03:29
Show Gist options
  • Select an option

  • Save calthoff/2884b652784dc5876c1f452858b573ad to your computer and use it in GitHub Desktop.

Select an option

Save calthoff/2884b652784dc5876c1f452858b573ad to your computer and use it in GitHub Desktop.
def is_palindrome(word):
word = word.lower()
return word[::-1] == word
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment