Python programming language is one of the most powerful and resourceful so far. This language helps not only for developing software and web applications but also in the field of Artificial Intelligence. In fact it is not wrong to say that almost 80% of the Artificial Intelligence programs are based in Python Programming Language.

The gained popularity of this language is because of its efficient memory and time management. This is possible because of the data and the way data is organized in a program which is known as Data Structures.

What actually is Data Structure?

Types of Data Structure in Python

Built-in Data Structure


We can perform different operations in the lists such as append, access and remove of the items. Apart from these details one of the most key take way is to understand that lists are mutable- which means the items can be changed in anyway we want it to.


Dictionary stores the data in a key-value pair which can be changed, updated anyhow we like it. It is also mutable and the items in the dictionary are unordered. It means we cannot access the values by unique index values. We can access the value by the keys in the dictionary. Key and values are stored in the curly brackets ( { } ) with a colon ( : ) in between the key and value pair.


In tuple the items have a defined order in which they are stored which cannot be changed whatsoever.


One of the major feature of the set is that it does not allow any duplicate values in the set. Even if we try to enter the duplicate values, it is assigned only once.

Learner and Programmer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store