division by 7 efficiently ???
krypto.wizard at gmail.com
krypto.wizard at gmail.com
Wed Jan 31 22:13:14 EST 2007
Its not an homework. I appeared for EA sports interview last month. I
was asked this question and I got it wrong. I have already fidlled
around with the answer but I don't know the correct reasoning behind
it.
Thanks,
On Jan 31, 10:01 pm, Ben Finney <bignose+hates-s... at benfinney.id.au>
wrote:
> krypto.wiz... at gmail.com writes:
> > How to divide a number by 7 efficiently without using - or /
> > operator. We can use the bit operators. I was thinking about bit
> > shift operator but I don't know the correct answer.
>
> I think you are asking for help on a homework assignment in violation
> of collusion and plagiarism rules of your educational institution, and
> I claim my ten zorkmids.
>
> Please use the resources made available to you in your course of
> study; this almost certainly does not include having people on
> discussion forums answer the homework for you.
>
> --
> \ "I like to go to art museums and name the untitled paintings. |
> `\ 'Boy With Pail'. 'Kitten On Fire'." -- Steven Wright |
> _o__) |
> Ben Finney
More information about the Python-list
mailing list