Pregunta de entrevista de Cognizant

Some very simple python question