GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Mindmap

Data Structures

Austin Ross Englisch

Inhalt der Mindmap

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.

Informationen

Beschreibung
Mindmap am Data Structures, erstellt von Austin Ross am 04/02/2021.
Erstellt von
Austin Ross
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck