2022-06-30 14:24:00 +08:00

12 lines
169 B
Python

d = {'a':1, 'b':2, 'c':'test'}
print(d)
for item in d:
print(item)
keys = d.keys()
for k in keys:
print(k)
print(keys)
dd = {'list':[1,2,3], 'len':3}
print(dd)