Python Dictionary Hakkında

{v: d.setdefault(v, []).append(k) or d[v] for k, v in dict(d).items()}

1 Beğeni