Cvent event configuration tools may validate short text fields before processing them. Given three strings, determine whether the first is a palindrome and whether the second and third are anagrams.
A palindrome reads identically from left to right and right to left. An anagram contains exactly the same characters with the same frequencies, possibly in a different order. Treat characters as case-sensitive and include spaces and punctuation in both checks.
Implement check_strings(s, a, b):
true for the first result if s is a palindrome, otherwise return false.true for the second result if a and b are anagrams, otherwise return false.[is_palindrome, are_anagrams].def check_strings(s, a, b):