Infosys Interview Question

given python program and need to find out the output