Ask Your Question

Revision history [back]

See subgroup() of PermutationGroup:

sage: G = SymmetricGroup(4)
sage: H = G.subgroup([(1,2)])
sage: list(H)
[(), (1,2)]

Here () denotes the identity permutation.