2023-06-30 00:25:42 +08:00

19 lines
200 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)