Skip to content

Instantly share code, notes, and snippets.

@codeboy101
Created January 11, 2016 10:55
Show Gist options
  • Select an option

  • Save codeboy101/0bc55e33e788a9d38c5d to your computer and use it in GitHub Desktop.

Select an option

Save codeboy101/0bc55e33e788a9d38c5d to your computer and use it in GitHub Desktop.
import threading
import time
def loop1_10():
for i in range(1, 11):
time.sleep(1)
print(i)
threading.Thread(target=loop1_10).start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment