Mindmap
assignmentTwo Mental Map
Inhalt der Mindmap
assignmentTwo Mental Map
Lists
- thislist = ["apple", "banana", "cherry"]
- Order can be changed, allows duplicates
- Used to store multiple items in a single variable
- thislist = ["apple", "banana", "cherry"]
Tuples
- mytuple = ("apple", "banana", "cherry")
- ordered, unchangable, allows duplicates
- mytuple = ("apple", "banana", "cherry")
Sets
- myset = {"apple", "banana", "cherry"}
- unordered, cannot change items but can add, duplicates not allowed
- myset = {"apple", "banana", "cherry"}
Dictionaries
- Dictionaries are used to store data values in key:value pairs.
- thisdict = { "brand": "Ford", "model": "Mustang", "year": 1964 }
- Dictionaries are used to store data values in key:value pairs.
Informationen
- Beschreibung
- Mindmap am assignmentTwo Mental Map, erstellt von JP Corsi am 10/09/2021.
- Erstellt von
- JP Corsi
- Aufrufe
- 0
- Bewertung