On 8/15/07, Mikael Olofsson <[EMAIL PROTECTED]> 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: DCDBA Using this dictionay. A={'A':['1','2'],'B':['4','5'],'C':['6','7','8'],'D':['9']} Should return: '96941' '97941' '97942' '96942' '98941' '98942' '96951' '97951' '97952' '96952' '98951' '98952' -- Sebastián Bassi (セバスティアン) Diplomado en Ciencia y Tecnología. GPG Fingerprint: 9470 0980 620D ABFC BE63 A4A4 A3DE C97D 8422 D43D -- http://mail.python.org/mailman/listinfo/python-list