input: Write a python function to check if a given string is a palindrome.
  assert is_palindrome("Racecar") == True
  assert is_palindrome("Python") == False
  assert is_palindrome("Madam") == True
output: def is_palindrome(s):
      s = s.lower()
      return s == s[::-1]