how to empty the default dictionary in python code example Example: how to empty a dictionary in python dict.clear()