Combinatorial of elements in Python?
mikael at isy.liu.se
Thu Aug 16 10:57:24 CEST 2007
Sebastian Bassi wrote:
> On 8/15/07, Mikael Olofsson <mikael at isy.liu.se> wrote:
>> What is unclear here is in what order the keys should be visited. The
>> following assumes that the keys should be considered in alphanumeric order.
> Yes, my fault. The orden should be given by a string, like:
> Using this dictionay.
> Should return:
OK, seems like you need to add a second argument to the function
specifying this order. I leave that to you.
More information about the Python-list