Domanda di colloquio di Infosys

given python program and need to find out the output