PayPal may compare normalized reference strings when validating a payment request. Given two strings, determine whether they are anagrams, meaning one can be formed by rearranging all characters of the other.
The comparison is case-sensitive, and every character must be matched exactly. For this problem, inputs contain only lowercase English letters. Repeated characters must occur the same number of times.
Implement is_anagram(s, t):
s and t containing zero or more lowercase English letters.True if s and t are anagrams, otherwise return False.def is_anagram(s, t):