Different types of collection data types in python.

In python, we have several data types like any other programming language, including integer, float, char, String, Boolean, etc.

But as we all know python is the fastest growing language in the world and it has many reasons, one of which is its collection of data types.

As we can assume from the name itself a collection means a group of something and data means some information and if combined with another word “data types” means the group of information with a variety of different things.

There are four different types of collection data types in python.

  1. List
  2. Tuple
  3. Set
  4. Dictionary

All of these data types are used to store integer, character, and string. Their behavior depending upon their type is different.

Leave a Comment

Your email address will not be published. Required fields are marked *