Microsoft interview question

about coding the transformers in python?