demo_dictionary_clear.py:
thisdict = { "brand": "Ford", "model": "Mustang", "year": 1964 } thisdict.clear() print(thisdict)
➜ begtut>python demo_dictionary_clear.py
{}