Infosys interview question

given python program and need to find out the output