Liste gegen Wörterbuch Python
# Dictionaries are created with {} and are unordered. You access their elements with specific keys that you can assign.
# Lists are created with [] and are ordered. You can access their elements with the element's index.
cool_list = ["list", 1, True]
cool_dictionary = {"thisisa": "dictionary", "number": 1, "boolean": True}
# returns "list"
print(cool_list[0])
# returns "dictionary"
print(cool_dictionary["thisisa"])
jawwson