Converting tuple of lists of variable length into dictionary

Chris Angelico rosuav at gmail.com
Sun Oct 18 08:35:27 EDT 2015


On Sun, Oct 18, 2015 at 11:23 PM, Beppe <giuseppecostanzi at gmail.com> wrote:
> hi Peter, you are right, no duplicates are admitted between lists,
> anyway your solution,works on python 3 but not on 2.
> however beautiful list comprehension solution.
> I will try to suit it for the python version i need

Should work fine on 2.7. What Py2 version are you running?

ChrisA



More information about the Python-list mailing list