(self)
return len(self.support())
Returns the number of integers moved by a permutation.

        Examples
        ========

        >>> from sympy.combinatorics import Permutation
        >>> Permutation([0, 3, 2, 1]).length()
        2
        >>> Permutation([[0, 1], [2, 3]]).length()
        4

        See Also
        ========

        min, max, suppport, cardinality, order, rank, size
Returns the number of integers moved by a permutation.
Returns the number of integers moved by a permutation .
def length(self):
        """
        Returns the number of integers moved by a permutation.

        Examples
        ========

        >>> from sympy.combinatorics import Permutation
        >>> Permutation([0, 3, 2, 1]).length()
        2
        >>> Permutation([[0, 1], [2, 3]]).length()
        4

        See Also
        ========

        min, max, suppport, cardinality, order, rank, size
        """

        return len(self.support())
def length ( self ) : return len ( self . support ( ) )