Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Permutation p is viewed as a function, and so its action on a point is just the result of this function:

p = Permutation('(5,17)')
print( p(5) )