普通写法

{
    对象对 键的操作:对象对 值的操作 
    for 对象 in 字典 的keys() 或者 values() 或者 items() 方法
}

字典推导式,最基本写法_分享


 

字典推导式,最基本写法_分享_02