Skip to content

Commit a96daf1

Browse files
authored
Update README.md
1 parent 13168fe commit a96daf1

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

Diff for: README.md

+21-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Data-Structures-in-Python
2-
In-built and User defined Data Structures in Python
2+
In-built Data Structures in Python
33

44
* Data Structures are used to store and manage data. We can create structures as per our or clients need.
55
* We can modify data and apply various functions or operations on it to derive the data as per our requirements.
@@ -12,18 +12,30 @@ In-built and User defined Data Structures in Python
1212
* List
1313
* Dictionary
1414

15-
* User Defined DS
16-
* Arrays
17-
* Linked List
18-
* Stack
19-
* Queue
20-
* Tree
21-
* Graph
22-
2315
## [Tuple](https://github.com/Ankit-Khule/Data-Structures-in-Python/blob/master/Tuples.ipynb)
16+
* Tuple are immutable, means they can't be changed. Once the value is stored inside a tuple it cant be modified, but we can use it to perform various actions on it.
17+
* Tuple are similar to a List but just the difference it is immutable.
18+
* Syntax to assign value inside a tuple --> tuple_name = (....)
19+
* Tuple cosnist of a single data type.
2420

2521
## [List](https://github.com/Ankit-Khule/Data-Structures-in-Python/blob/master/List.ipynb)
22+
* List is an ordered data structures.
23+
* List are mutable, which means they can be updated or replaced or deleted.
24+
* List can have any datatype included in it. It can mixtures of data types from string,int or tuple.
25+
* List is defined as List_name=[..,...]
26+
* Elements of the list can be iterated
27+
2628

2729
## [Dictionary](https://github.com/Ankit-Khule/Data-Structures-in-Python/blob/master/Dictionary.ipynb)
30+
* Dictionary are mutable data structure, which means they can be modified.
31+
* Dicitonary consist of key-value pair.
32+
* Dictionary is defined as **dict_name={key:value,key1:value1...}**
33+
* Dictionary is unordered.
34+
2835

2936
## [Sets](https://github.com/Ankit-Khule/Data-Structures-in-Python/blob/master/Sets.ipynb)
37+
38+
* Set are mutable unordered data structures.\n",
39+
* They only consist of unique elements. no duplicates are present.\n",
40+
* Sets are also defined using {} parenthesis like dictionary but there are no key value pairs only elements seprated by comma\n",
41+
* **set_name={,,,}**"

0 commit comments

Comments
 (0)