[Solved] Does Python include only 3 collection types?

[ad_1]

No, Python supports more collection types. You missed the tuple, the deq, the string and bytes for example.

Actually the possibilities are infinite since you can make any object a collection by implementing some special methods and also you can subclass most built-in sequence times.

[ad_2]

solved Does Python include only 3 collection types?