entering permutation as product of not necessarily disjoint cycles
I was expecting to get the identity when I did the following:
sage: G = SymmetricGroup(3)
sage: G('(1,2)(1,2)')
but I get (1,2).
How to tell Sage to compute a product of not necessarily disjoint cycles?