Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To compute the group action you want:

G=SymmetricGroup(3)
A={1,2}
for g in G:
    for a in A:
        print str(g)+' acts on '+str(a)+' to give '+str(g(a))