1. #!/usr/bin/python
    2. # -*- coding: UTF-8 -*-
    3. tinydict = {'Name': 'Zara', 'Age': 7, 'Class': 'First'}
    4. tinydict['Age'] = 8 # 更新
    5. tinydict['School'] = "RUNOOB" # 添加
    6. print "tinydict['Age']: ", tinydict['Age']
    7. print "tinydict['School']: ", tinydict['School']