What is the meaning of Data Structure?
Data Structure is the building that save and manipulate the data of your program in it in memory, in your real life imagine you save your things in a box :) or in your office temporarily to use it later,here's the same a box in memory (Structure) to hold your data temporarily to make you able to use and manipulate it as you want
Data Structure = Place in memory to hold your data in organized way
So , Data Structure can contain a collection of data elements like (numbers , characters ,or even another data structures)
The most basic data structure in python is the sequence , each element of a sequence is assigned a number (its position , or index)
the first index is zero the second is one and so on
Python Data Structure:
1. List
2.Tuple
3.Dictionaries
4.Sets
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment