[Solved] Does Python include only 3 collection types?


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.

solved Does Python include only 3 collection types?