Operator | Explanation |
---|---|
len(d) | returns the number of stored entries, i.e. the number of (key,value) pairs. |
del d[k] | deletes the key k together with his value |
k in d | True, if a key k exists in the dictionary d |
k not in d | True, if a key k doesn't exist in the dictionary d |