(self)
return self._degree
Returns the size of the permutations in the group.

        The number of permutations comprising the group is given by
        len(group); the number of permutations that can be generated
        by the group is given by group.order().

        Examples
        ========

        >>> from sympy.combinatorics import Permutation
        >>> Permutation.print_cyclic = True
        >>> from sympy.combinatorics.perm_groups import PermutationGroup
        >>> a = Permutation([1, 0, 2])
        >>> G = PermutationGroup([a])
        >>> G.degree
        3
        >>> len(G)
        1
        >>> G.order()
        2
        >>> list(G.generate())
        [Permutation(2), Permutation(2)(0, 1)]

        See Also
        ========

        order
Returns the size of the permutations in the group.
Returns the size of the permutations in the group .
def degree(self):
        """Returns the size of the permutations in the group.

        The number of permutations comprising the group is given by
        len(group); the number of permutations that can be generated
        by the group is given by group.order().

        Examples
        ========

        >>> from sympy.combinatorics import Permutation
        >>> Permutation.print_cyclic = True
        >>> from sympy.combinatorics.perm_groups import PermutationGroup
        >>> a = Permutation([1, 0, 2])
        >>> G = PermutationGroup([a])
        >>> G.degree
        3
        >>> len(G)
        1
        >>> G.order()
        2
        >>> list(G.generate())
        [Permutation(2), Permutation(2)(0, 1)]

        See Also
        ========

        order
        """
        return self._degree
def degree ( self ) : return self . _degree