micropython/tests/basics/dict_iterator.py

4 wiersze
48 B
Python

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