Accenture interview question

Nothing just basic questions of python