"Paddy" <[EMAIL PROTECTED]> writes:

> On Feb 1, 2:42 am, [EMAIL PROTECTED] wrote:
> > How to divide a number by 7 efficiently without using - or / operator.
>
> >>> int.__div__(14,2)
> 7
> >>>
>
> Not a minus or division operator in sight ;-)

I salute you, sir. That's the perfect answer to the boneheaded
constraints of the problem :-)

-- 
 \       "What I resent is that the range of your vision should be the |
  `\                              limit of my action."  -- Henry James |
_o__)                                                                  |
Ben Finney

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to