⬅︎ Back to Items function in JavaScript for looping over dictionaries like Python
Your python example is a little bit wrong. It should be this:```pythonfor key, value in some_dictionary.items(): print(f'{key}: {value}')```
Comment
Your python example is a little bit wrong. It should be this:
```python
for key, value in some_dictionary.items():
print(f'{key}: {value}')
```