Python: Recursive: Palindrome

Write the recursive function palindrome that takes an string and determines if the string is palindrome or not. A string is palindrome that reads the same backward as forward. Note that the string is case-insensitive.

palindrome('racecar') -> True
palindrome('MadAm') -> True
palindrome('hello') -> False

Test 1    

Test 2    

Test 3    

Test 4    

Test 5    

Test 6    

Test 7    

Test 8