Mapa mental
linear Data structures
Contenido del mapa
linear Data structures
Lists
- Ordered, Changeable, allow duplicates
- created with [ ]
- Can remove or pop
- elements are added to the end
- Allow for different data types
Tuples
- Ordered, UnChangeable, allow duplicates
- allow for different data types
- created with ( )
- Accessed with [ ]
- [-1] returns last
- [#:#] returns subtuples btwn #'s
- Accessed with [ ]
Sets
- Unordered, Unchangeable, reject duplicates
- Created with { }
- Access using loop or t/f check
- Can add elements or merge multiple sets together
- Accept different data types
Dictionaries
- Used to store data in key:value format
- created with { key1:value1,.... }
- Accepts any data types
Información
- Descripción
- Mapa Mental sobre linear Data structures, creado por Bryan Fu el 14/09/2021.
- Creado por
- Bryan Fu
- Visitas
- 1
- Valoración