使用 dict[key] :無此key 時會跳錯,若給值 dict[key] = value 則新增此key:value; 使用 dict.get(key, None) :無此key 時會跳出第2 個參數的值,預設為 None; 使用 dict ...
確定! 回上一頁