looping through possible combinations of McNuggets packs of 6, 9 and 20

John Posner jjposner at optimum.net
Fri Aug 13 22:28:52 CEST 2010


On 8/13/2010 6:25 AM, Roald de Vries wrote:
> On Aug 12, 2010, at 10:51 PM, John Posner wrote:
>> On 8/12/2010 9:22 AM, Dave Angel wrote:
>>>>
>>>> Now you have to find the largest number below 120, which you can
>>>> easily do with brute force
>> tgt = 120 # thanks, Dave Angel
>
> Anytime, but I'm not Dave Angel.

Oops -- sorry for the erroneous attribution, Roald.  -John




More information about the Python-list mailing list