def METHOD_NAME(expr, **settings):
    r"""Converts an expr to a string of the Wolfram Mathematica code
    Examples
    ========
    >>> mathematica_code(sin(x).series(x).removeO())
    '(1/120)*x^5 - 1/6*x^3 + x'
    """
    return MCodePrinter(settings).doprint(expr)