TEKsystems interview question

Related to Python and programming