HCLTech interview question

Python Programming