Created
January 11, 2016 10:55
-
-
Save codeboy101/0bc55e33e788a9d38c5d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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