(X, n, condition=None, **kwargs)
return moment(X, n, mu, condition, **kwargs)
Return the nth central moment of a random expression about its mean
    i.e. E((X - E(X))**n)

    Examples
    ========

    >>> from sympy.stats import Die, cmoment, variance
    >>> X = Die('X', 6)
    >>> cmoment(X, 3)
    0
    >>> cmoment(X, 2)
    35/12
    >>> cmoment(X, 2) == variance(X)
    True
Return the nth central moment of a random expression about its mean
    i.e. E((X - E(X))**n)
Return the nth central moment of a random expression about its mean i . e . E (( X - E ( X )) ** n )
def cmoment(X, n, condition=None, **kwargs):
    """
    Return the nth central moment of a random expression about its mean
    i.e. E((X - E(X))**n)

    Examples
    ========

    >>> from sympy.stats import Die, cmoment, variance
    >>> X = Die('X', 6)
    >>> cmoment(X, 3)
    0
    >>> cmoment(X, 2)
    35/12
    >>> cmoment(X, 2) == variance(X)
    True
    """
    mu = expectation(X, condition, **kwargs)
    return moment(X, n, mu, condition, **kwargs)
def cmoment ( X , n , condition = None , * * kwargs ) : mu = expectation ( X , condition , * * kwargs ) return moment ( X , n , mu , condition , * * kwargs )