Skip to content

Instantly share code, notes, and snippets.

@waichee
Last active September 24, 2020 00:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save waichee/b94eecfd57c6d68606c4be78e2317baa to your computer and use it in GitHub Desktop.
Save waichee/b94eecfd57c6d68606c4be78e2317baa to your computer and use it in GitHub Desktop.
import time
import random
# A dummy script which keeps increasing the number of string added to list a
thing = "hi"
a = []
for i in range(1000):
a.append(thing * random.randint(1000,2000))
time.sleep(0.1)
print "index: {}".format(i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment