Created
September 14, 2017 02:15
-
-
Save dalejandroramirez/05efe3c89cfc914845b2ec0f42bf5386 to your computer and use it in GitHub Desktop.
dice si una palabra o no es palindrome
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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