Data types and data structures in python
Data Structure is used for storing multiple data that enables its access and modification efficiently. Data Structures in Python to solve these problems:
- List : List is Data Structure in Python ,which contains the heterogeneous data type. that is mutable data type,it contain the order of the value which is called element of List, it its support the index value ,by using this we can easily access any value in List
- Tuple : Tuple is also Data Structure in Python which is immutable data type ,once element is entered in tuple that neither change nor modified. Aim to define the tuple is prevent the data to modification inattentive . it also support the index value.
- Dictionary : Dictionary is an associative array. Which support key and value as element. Dictionary is started by the curly braces.
- Set : Set is collection of the unordered data set, set does not support indexing ,due to this reason we cannot change any value in the set, Duplicate value is not supported in the set. We can easily find out the union, intersection, difference and symmetric difference in the set. Set is also started by the curly braces.
To get more information about list please prefers following link :
To get more information about tuple please prefers the following link :
To get more information about Dictionary please prefers following link :
To get more information about set please prefers this link :