dictionnaries python code example
Example 1: dictionary in python
thisdictionary = {'key':'value','key1':'value1'}
print(thisdictionary['key'])
Example 2: dicts python
thisdict = {
"brand": "Ford",
"model": "Mustang",
"year": 1964
}
x = thisdict["model"]
print(x)
---------------------------------------------------------------------------
Mustang