标签:pen value 元素 end 循环输出 append pre 键值对 字典
for i in dic:
print(i)
for i in dic:
print(dic[i])
dic[‘k4‘]=‘v4‘
print(dic)
dic[‘k1‘]=‘alex‘
print(dic)
dic[‘k3‘].append(44)
print(dic)
标签:pen value 元素 end 循环输出 append pre 键值对 字典
原文地址:https://www.cnblogs.com/coder-2017/p/9280938.html