4 ms·
set(j.organization for p in people for j in p.jobs) {j.organization for p in people for j in p.jobs} The latter is available from Python 2.7+.
by andreasvc 12y ago
set(j.organization for p in people for j in p.jobs)
{j.organization for p in people for j in p.jobs}
The latter is available from Python 2.7+.