forgot to add test for dict.update
This commit is contained in:
parent
88f3043e0a
commit
27d4ca7693
|
@ -0,0 +1,10 @@
|
||||||
|
d = {1:2, 3:4}
|
||||||
|
print(d)
|
||||||
|
d.update(["ab"])
|
||||||
|
print(d[1])
|
||||||
|
print(d[3])
|
||||||
|
print(d["a"])
|
||||||
|
print(len(d))
|
||||||
|
d.update([(1,4)])
|
||||||
|
print(d[1])
|
||||||
|
print(len(d))
|
Loading…
Reference in New Issue