On Wed, 23 Mar 2005 11:34:09 -0500, Terry Reedy <[EMAIL PROTECTED]> wrote:
>
> "Herman Toothrot" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Avast! Why be there builtins divmod and pow, when operators **, /, and %
> > should be good enough for ya? It runs counter to TOOWTDI
"Herman Toothrot" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Avast! Why be there builtins divmod and pow, when operators **, /, and %
> should be good enough for ya? It runs counter to TOOWTDI, I be thinking.
Questions like this should be asked on comp.lang.python or the py
Herman Toothrot wrote:
Avast! Why be there builtins divmod and pow, when operators **, /, and
% should be good enough for ya? It runs counter to TOOWTDI, I be
thinking. Arr.
Well, divmod(x, y) does both / and % in one shot, which can be very
useful. pow(x, y[, z]) has an optional third argume