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

John Posner jjposner at optimum.net
Mon Aug 16 22:52:35 CEST 2010


On 8/16/2010 4:18 PM, Baba wrote:
>
> packages=[2,103,105]
> min_size=min(packages[0],packages[1],packages[2])

or:

   min_size = min(packages)

-John



More information about the Python-list mailing list