Frage im Vorstellungsgespräch bei Accenture

Write python code to print the string is anagram or not.