circuitpython/tests/basics/dict_iterator.py

4 lines
48 B
Python

d = {1: 2, 3: 4}
for i in d:
print(i, d[i])