[PyAR2] Mini Programming Contest

Greg Lindstrom gslindstrom at gmail.com
Wed Nov 28 16:30:19 CET 2007


This was today's "Brain Basher" puzzle.

What is the smallest integer that when multiplied by 7 produces an integer
containing only 6's?

I solved in in my IDLE editor with 3 lines of code (granted, one line is
fairly ugly) and less than 1 minute.  I'll post my version later tonight,
but why don't you take a crack at it, if you have some free time.  It's a
good way to see different ways to solve a problem.

--greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/mailman/private/pyar2/attachments/20071128/aa6c8990/attachment.htm 


More information about the PyAR2 mailing list