Mapa mental
Data Structures
Contenido del mapa
Data Structures
Lists: ordered, changeable & allow duplicates
- can hold elements of different data types
- Adding an element to a list places it at the end
- .append()
- when deleting an element
- remove the element
- .remove()
- pop the index
- .pop()
- remove the element
- to access an element in a list
- [ ]
- Adding an element to a list places it at the end
- can hold elements of different data types
Tuples: ordered, unchangeable, & allow duplicates
- we cannot update or delete
Sets: unordered, unchangeable, reject duplicates
- you can add or update but not remove
- adding elements
- .add()
- merge sets
- .update()
- adding elements
- you can add or update but not remove
Dictionaries: ordered, changeable, and does not allow duplicates
- it can be any data type
- used to store data values in key:value pairs
Información
- Descripción
- Mapa Mental sobre Data Structures, creado por Yanella tree el 14/09/2021.
- Creado por
- Yanella tree
- Visitas
- 0
- Valoración