3 lines
115 B
Python
3 lines
115 B
Python
d = {'x': 10, 'y': 20, 'z': 30}
|
|
for dict_key, dict_value in d.items():
|
|
print(dict_key,'->',dict_value) |