To find the
get(key, default=None)
Returns the value of the specified key, or default if the value is not in the dictionary
setdefault(key, default=None)
Similar to get(), but if the key does not exist in the dictionary, the key is added and the value is set to default
popitem()
The machine returns and deletes a pair of keys and values in the dictionary (usually the last pair).
items()
Returns a traversable array of tuples as a list
keys()
Returns an iterator that can be converted to a list using list()
values()
Returns an iterator that can be converted to a list using list()
Modify the
update(dict2)
Dictionary records add up
clear()
Delete all elements from the dictionary