📅  最后修改于: 2022-03-11 14:45:17.813000             🧑  作者: Mango
from sympy.parsing.sympy_parser import parse_expr, standard_transformations, implicit_multiplication_application, convert_xor
transformations = (standard_transformations + (implicit_multiplication_application, ))
expression = parse_expr('-5abc^2', transformations=transformations)