venture of iit bombay vjti alumni del dict delete entire dictionary print "dict['age']"dict['age'print "dict['school']"dict['school'this produces the following result note that an exception is raised because after del dict dictionary does not exist any more dict['age']traceback (most recent call last)file "test py"line in print "dict['age']"dict['age']typeerror'typeobject is unsubscriptable note del(method is discussed in subsequent section properties of dictionary keys dictionary values have no restrictions they can be any arbitrary python objecteither standard objects or user-defined objects howeversame is not true for the keys there are two important points to remember about dictionary keys