|
|
|
|
|
by extasia
871 days ago
|
|
I've also had this thought, but found that inspecting the type shows its by default a dictionary, and that it only is interpreted as a set if you treat it as such (eg add comma-seperated elements when instantiating) assert type({}) == type(dict()))
assert type({1,2,3} == type(set()) |
|