Mapa mental
Data Structures
Contenido del mapa
Data Structures
Lists [...,...,...]
- Ordered, changeable, and allows duplicates
- Elements can have different data types
- You can add and remove elements
- List items are indexed, the first item has index [0], the second item has index [1] etc.
- use the len() function
- List items are indexed, the first item has index [0], the second item has index [1] etc.
- You can add and remove elements
- Elements can have different data types
- Ordered, changeable, and allows duplicates
Tuples (...,...,...)
- Used to store multiple items in a single variable
- Ordered, unchangeable, allow duplicates
- You cannot add or remove elements
- Tuple items are indexed, the first item has index [0], the second item has index [1] etc.
- use the len() function
- Tuple items are indexed, the first item has index [0], the second item has index [1] etc.
- You cannot add or remove elements
- Ordered, unchangeable, allow duplicates
- Used to store multiple items in a single variable
Sets {...,...,...}
- Unordered, unchangeable, reject duplicates
- Elements can have different data types
- You can add and merge elements
- Unindexed
- use the len() function
- Unindexed
- You can add and merge elements
- Elements can have different data types
- Unordered, unchangeable, reject duplicates
Dictionaries
- Store data in key:value format
- Describe items
- Can be any data type
- ordered, changeable, and does not allow duplicates
- use the len() function
- ordered, changeable, and does not allow duplicates
- Can be any data type
- Describe items
- Store data in key:value format
Información
- Descripción
- Mapa Mental sobre Data Structures, creado por Sydney Darden el 09/09/2021.
- Creado por
- Sydney Darden
- Visitas
- 0
- Valoración