Tech Mahindra interview question

write python code to check for anagram, what is kwargs in python surrogate keys in sql