13 lines
162 B
Python
13 lines
162 B
Python
let h = dict()
|
|
|
|
h["hello"] = "world"
|
|
h["foo"] = "bar"
|
|
h[1] = 2
|
|
h[3] = 4
|
|
|
|
for v in h.keys():
|
|
print(v)
|
|
|
|
for v in h.keys():
|
|
print(str(v) + ": " + str(h[v]))
|