[Python] 字典Dictionaries的用法 dict

宣告
    diction_A= {}
diction_A= {'key':'value'}

範例:
    stutend={'one':'Lily' , 'two':'lisa' , 'three':'Peter'}

新增:
    stutend['four']='Amy'
    >>>   stutend={'one':'Lily' , 'two':'lisa' , 'three':'Peter' , 'four':'Amy'}


留言

這個網誌中的熱門文章

[HTML]標籤-下

論P, NP, NP-Complete, NP-Hard問題

[Python]基礎課程

[系統]解除電腦限制頻寬

[HTML]標籤-上

[AlaSQL] 多data查詢+累計

How to Check the MySQL Version

[SQL Sever] 日期時間

推薦使用的9款編程字體

類別型態 vs 基本型態