Python Execute Math From String To Array