Tech Mahindra Interview Question

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