#字典:key-value格式,大括号,逗号,冒号
#声明字典
adic = {1:"lnsoft", "dep": "dev center", "name":"Linda", "address": "Wanda"} print(adic)
#访问单元素
print(adic["dep"] )
#更新元素
adic["dep"] = "sales" print(adic)
#新增
adic["Tel"] = "18706205729" print(adic)
#删除单元素
adic.pop("address") print(adic)
#清空
adic.clear() print(adic)