Yochana data-processing utilities may need to verify that two incoming labels contain the same characters before applying equivalent parsing logic. Write a function that determines whether two strings are anagrams.
Two strings are anagrams when they contain exactly the same characters with the same frequencies, regardless of order. The comparison is case-sensitive, and whitespace and punctuation are treated as ordinary characters.
Implement is_anagram(s, t).
s and t.True if s and t are anagrams. Otherwise, return False.def is_anagram(s, t):