summaryrefslogtreecommitdiffstatshomepage
path: root/tests/stress/dict_create.py
blob: e9db40a8e6c5bf2f8e367ccdf57669ce9b9b61b8 (plain) (blame)
1
2
3
4
5
6
7
8
# create a large dictionary

d = {}
x = 1
while x < 1000:
    d[x] = x
    x += 1
print(d[500])