input: Write a python function to check if a string is a palindrome.
  assert is_palindrom("racecar") == True
  assert is_palindrom("hello") == False
  assert is_palindrom("madam") == True
output: def is_palindrom(s):
      return s == s[::-1]