GlobalLogic interview question

JSON, Python based only 1 to 2 question