could someone please indicate to me what's wrong with the logic of the simple recursive function, below:
def palindrome (string):
if len(string)<=1:
    return True
elif string[0]== string[-1]:
    palindrome(string[1:-1])
else:
    return False
the False part, works ok, for example : palindrome('good') the function returns correctly False. but if it's fed a palindrome like : palindrome('level') the function returns nothing.
 
     
    