Skip to content

Instantly share code, notes, and snippets.

@dalejandroramirez
Created September 14, 2017 02:15
Show Gist options
  • Save dalejandroramirez/05efe3c89cfc914845b2ec0f42bf5386 to your computer and use it in GitHub Desktop.
Save dalejandroramirez/05efe3c89cfc914845b2ec0f42bf5386 to your computer and use it in GitHub Desktop.
dice si una palabra o no es palindrome
def checkPalindrome(inputString):
if inputString==inputString[::-1]:
return(True)
else:
return(False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment