In [3]:
d={"A":"1w23", "B":"34e", "C":"23r", "D":"et6", "E":"e48", "F":"ku9",}
In [6]:
e = d.copy()
e
Out[6]:
In [13]:
f = d.fromkeys("A","34e")
f
Out[13]:
In [29]:
f = d.fromkeys("a","b")
f
Out[29]:
In [18]:
d.get("B","A")
Out[18]:
In [20]:
d.get("G","A")
Out[20]:
In [23]:
f.has_key("G")
Out[23]:
In [24]:
f.items()
Out[24]:
In [25]:
f.items?
In [26]:
d.items()
Out[26]:
In [ ]:
In [ ]: