SAP interview question

they have asked to write a python script