Ask Your Question

Revision history [back]

Tuples look the most natural solution to me

sage: S5 = SymmetricGroup(5)
sage: S5([(1,2), (3,4)]) 
(1,2)(3,4)

(and you can also use strings as suggested by Samuel).