contacts = { 'name':'张三', 'sex':"男", 'salary':'8000' } contacts.clear() print(contacts)