Skip to content

Instantly share code, notes, and snippets.

@mastro35
Created April 16, 2018 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mastro35/d92a787f9a75af26595c1a462966bf0b to your computer and use it in GitHub Desktop.
Save mastro35/d92a787f9a75af26595c1a462966bf0b to your computer and use it in GitHub Desktop.
import time
def elements():
elements = []
for i in range (0,4):
# simulate a slow search
time.sleep(5)
elements.append(i)
return elements
print("start")
print(elements())
print("end")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment