Your question is Anagram Check Coding. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
In SLB's DELFI environment, two generated identifiers may contain the same characters in a different order. 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. Treat uppercase and lowercase letters as different characters, and treat spaces, punctuation, and digits as ordinary characters. The strings do not need to have the same order.
Implement are_anagrams(s, t).
s and t.True if t is an anagram of s; otherwise, return False.def are_anagrams(s, t):