ispal.py (105B)
1 def ispal(word): 2 if word[::-1] == word: return True; 3 else: return False 4 5 print(ispal("racecar"))