wiki: https://en.wikipedia.org/wiki/Anagram
|
Two strings are anagrams if they are made up of the same letters but are |
Two strings are anagrams if they are made up of the same letters but are arranged differently (ignoring the case). >>> check_anagrams(‘Silent’, ‘Listen’) True >>> check_anagrams(‘This is a string’, ‘Is this a string’) True >>> check_anagrams(‘This is a string’, ‘Is this a string’) True >>> check_anagrams(‘There’, ‘Their’) False