EY interview question

Python Programming