input: Write a python function to check if one string is the reverse of another.
  assert is_palindrome('radar', 'radar') == True
  assert is_palindrome('hello', 'olleh') == True
  assert is_palindrome('python', 'nohtyp') == True
  assert is_palindrome('test', 'tset') == True
  assert is_palindrome('example', 'elpmaxe') == True
output: def is_palindrome(str1, str2):
      return str1 == str2[::-1]