零基础入门Python(利用Jupyter Notebook实现)
字典:{} dict key-value
tang={}
tang['first']=123 -> {'first':123}
tang['python']=456 ->{'python':456}
tang['python']->456
P字典
{}
dict()
type()
Out:dict
字典结构操作:增删改查
key - value
str['first']=123
键对应值;
arr={'str1':123,'str2':456,'srt3':789}
字典无顺序;
用value可以排序。
工作时间:9:00-19:00
陈老师微信:aiu_cda1