def handle_gcd_lcm(f, args):
    '\n    Return the result of gcd() or lcm(), as UnevaluatedExpr\n\n    f: str - name of function ("gcd" or "lcm")\n    args: List[Expr] - list of function arguments\n    '
    args = tuple(map(sympy.nsimplify, args))
    return sympy.UnevaluatedExpr(getattr(sympy, f)(args))
Return the result of gcd() or lcm(), as UnevaluatedExpr

f: str - name of function ("gcd" or "lcm")
args: List[Expr] - list of function arguments
def handle_gcd_lcm(f, args):
    '\n    Return the result of gcd() or lcm(), as UnevaluatedExpr\n\n    f: str - name of function ("gcd" or "lcm")\n    args: List[Expr] - list of function arguments\n    '
    args = tuple(map(sympy.nsimplify, args))
    return sympy.UnevaluatedExpr(getattr(sympy, f)(args))