% is not an operator
Paul Rudin
paul.nospam at rudin.co.uk
Wed Dec 14 04:43:36 EST 2011
Steven D'Aprano <steve+comp.lang.python at pearwood.info> writes:
> The existence of two potential answers for the remainder is certainly
> correct, but the conclusion that remainder is not a binary operation
> doesn't follow. It is a binary relation.
This depends on your definition of "operation". Normally an operation is
a function, rather than just a relation.
More information about the Python-list
mailing list