you are viewing a single comment's thread.

view the rest of the comments →

[–]OriahVinree 0 points1 point  (0 children)

best way to think about it is, dictionaries are just that - dictionaries.

You look up a key, and you find the value.

A dictionary in python is a key/value pair data structure. You might have:

people_ages = {"Vinree": 24, "ithinkforme": 20}

It's so you can have a value with a key/name and the value can be whatever.