Python data structures tutorial : In this tutorial, you will learn about data structures in python with example. Data structure basically is structure in which data is hold together. Data structures are specialized format for organizing and sorting of data. Computers store and process the data with an extra speed and accuracy. It is essential that data is stored and can be accessed fastly. Data structures are selected and designed for purpose of working on it with the help of algorithms. Data structure deals with how the data is organized and held in memory.
The few data structures are available and are as follows:-
Tuples, sets, string, sets.
List and tuple are like strings. Lists are mutable and can be extended or reduced.
Sets are unordered sequence of elements and are used to collect the related data.
There are 4 build in data structures in python as:-
List, tuple, dictionary and set.
Two types of data structures:-