Pregunta de entrevista de Infosys

given python program and need to find out the output