micropython/tests/stress/dict_create.py

9 wiersze
96 B
Python

# create a large dictionary
d = {}
x = 1
while x < 1000:
d[x] = x
x += 1
print(d[500])