#!/usr/bin/pythonpython
# filename:test8.pyio
dict = {'Name': 'Zara', 'Age': 7, 'Class': 'First'};function
print ("dict['Name']:",dict['Name']);test
print ("dict['Age']:",dict['Age']);file
dict['Age'] = 8;dict
dict['School'] = "DPS School";di
print ("dict['Age']:",dict['Age']);
print ("dict['School':",dict['School']);
del dict['Age'];
print (dict);
dict.clear();
print (dict);
del dict;
dict1 = {'Name':'Zara','Age':7};
dict2 = {'Name':'Jade','Age':27};
#print (cmp(dict1,dict2)) #python3 no cmp function
print (dict1==dict2);
dict3 = {'Name':'Zara','Age':7};
print (dict1 == dict3);
print (str(dict1))
print (dict1.keys());