demo_python_dictionary_del_2.py:
x
 
thisdict =  {
  "brand": "Porsche",
  "model": "911",
  "year": 1963
}
del thisdict
print(thisdict) #this will cause an error because "thislist" no longer exists.
python@w3school.org.cn:/home/python#python demo_python_dictionary_del_2.py

Traceback (most recent call last):
  File "demo_dictionary_del3.py", line 7, in <module>
    print(thisdict) #this will cause an error because "thisdict" no longer exists.
NameError: name 'thisdict' is not defined