Built Robotics Interview Question

write an efficient anagram game using Python.