Here is the solution to Palindrome Checker using functions in Python which is given below:
def isPalindrome(str):
str = str.lower()
l = len(str)
if l < 2:
return True
elif str[0] == str[l - 1]:
return isPalindrome(str[1: l - 1])
else:
return False
s = input("Enter string: ")
ans = isPalindrome(s)
if(ans):
print(“True”)
else:
print(“False”)