commutative(op,S) is a function that takes two arguments and returns True only if the first argument op, an operator that takes two arguments, is commutative on the finite set S.

Would op be an actual operator such as +,-,/,*?

And if one were to test this function, how would one go about doing so?

Thanks.

This post has been edited by **Hiatus**: 25 September 2012 - 02:26 PM