Python code to determine if a string is an anagram or not