On 2020-03-19 15:17, Musbur wrote:
Hello,either it's me or everybody else who's missing the point. I understand the OP's proposal like this: dict[set] == {k: dict[k] for k in set} list[iterable] == [list[i] for i in iterable] Am I right?
"Iterable" is too broad because it includes tuples and strings. -- https://mail.python.org/mailman/listinfo/python-list