Infosys interview question

Technical questions on c python