State Farm interview question

Questions specific to python language