Pergunta de entrevista da empresa DICK'S Sporting Goods

Python: given a string of arithmetic that includes quotes (e.g. '"1" + "2"', write a function to evaluate the arithmetic