摘要:
Mapping a dictionary:D = {'food': 'Spam', 'quantity':4} #build with {}D = dict(food='Spam', quantity=4) #build with dict()D={}D['key'] = 'value' #add key,value to a dict.#Sorting Keys:for key in sorted(D): print(key, '=>', D[key])#Missing Ke 阅读全文
posted @ 2011-10-28 17:17
Aeol Kong
阅读(207)
评论(0)
推荐(0)
浙公网安备 33010602011771号