You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
forgot to add test for dict.update
This commit is contained in:
@@ -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))
|
||||
Reference in New Issue
Block a user