¡GoConqr estrena diseño! Cuéntanos qué te parece.

Mapa mental

Data Structures

Austin Ross Inglés

Contenido del mapa

Data Structures

  1. They are all used to store multiple items in a single variable.

    • They take all data types.
  2. LIsts

    • Square brackets
      • Ordered and changeable. Items can be indexed and moved around.
        • Data type, "list"
    • pets = ["dog", "cat", "tarantula", "fish"]
  3. Tuples

    • fruit = ("apple", "banana", "tomato")
    • Round parens
      • Ordered.
        • Unchangeable.
          • Allow duplicates
  4. Sets

    • Unordered and unindexed. You cannot know what item will be returned.
      • Unchangeable, but can add new items.
        • No duplicates.
    • Curly brackets.
      • soda = {"Cola", "Pop", "Soda", "Seltzer"}
  5. Dictionaries

    • Contain k:v pairs
      • Also curly brackets...
        • Unordered, unchangeable, no duplicates.

Información

Descripción
Mapa Mental sobre Data Structures, creado por Austin Ross el 04/02/2021.
Creado por
Austin Ross
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?