Guest User

Untitled

a guest
Jan 23rd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. def checkPalindrome(inputString):
  2. r = inputString[::-1]
  3. if(r == inputString):
  4. return True
  5. else:
  6. return False
  7.  
  8. checkPalindrome("abac")
Add Comment
Please, Sign In to add comment