micropython/tests/stress/dict_create.py

9 lines
96 B
Python
Raw Normal View History

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