My own accounting python euler problem

vsoler vicente.soler at gmail.com
Sun Nov 8 12:16:27 EST 2009


On Nov 8, 1:27 pm, Ozz <notva... at wathever.com> wrote:
> Robert P. J. Day schreef:
>
> >   does your solution allow for the possibility of different invoices
> > of equal amounts?  i would be reluctant to use the word "subset" in a
> > context where you can have more than one element with the same value.
>
> I think it handles different invoices of equal amounts correctly.
> I agree with you though that the term subset may not be the best name in
> this context because of those duplicates.
>
> cheers,
> Ozz

Ozz,

Instead of subsets, do you mean permutations/combinations?  Since 2
invoices can have the same amount perhaps the terms permutation is
better.

Vicente Soler



More information about the Python-list mailing list