Create a python program to check the following string for palindrome
"madam"
def check_palindrome(string):
  rev_str = string[::-1]
  if rev_str == string:
    return "The string is a palindrome"
  return "The string is not a palindrome"

print(check_palindrome("madam"))