From 21c45aabdec7362bd7e0d28244d84b50083e2ccb Mon Sep 17 00:00:00 2001 From: Tanuj Sharma Date: Mon, 13 May 2019 04:27:13 +0530 Subject: [PATCH] added more common and efficient data structures (#29225) --- guide/english/python/data-structures/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guide/english/python/data-structures/index.md b/guide/english/python/data-structures/index.md index 818a053e4f..0909fafb3b 100644 --- a/guide/english/python/data-structures/index.md +++ b/guide/english/python/data-structures/index.md @@ -1,10 +1,13 @@ --- title: The Python Data Structures --- + A data structure is a particular way of organizing data in a computer so that it can be used efficiently. Python comes with a robust set of inbuilt data structures. Some of the most commonly used ones are: * [Lists](https://docs.python.org/3/library/stdtypes.html#lists) — A sequence type where comma-separated values are ordered between square brackets and changeable. * [Tuples](https://docs.python.org/3/library/stdtypes.html#tuples) — A sequence type where values are ordered between parentheses and unchangeable. * [Dictionaries](https://docs.python.org/3/tutorial/datastructures.html#dictionaries) — An unordered collection that is changeable and indexed where values are held within curly braces in *key: value* pairs. +* Sets +* Strings Majorly, the data structures can be divided into two categories: * Mutable — A mutable data structure is a structure whose state can be modified after it is created. Python Lists and Dictionaries are mutable.