AiCore interview question

Debug the python code shown on the screen