Last active
July 12, 2018 13:14
-
-
Save DeviaVir/7b009692113d555b8242e15e38125615 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 time | |
def main(): | |
SLEEP_DELAY = 10 | |
for i in xrange(100): | |
print("Hello world! The time is now: %s. Sleeping for %d secs" % ( | |
time.asctime(), SLEEP_DELAY)) | |
time.sleep(SLEEP_DELAY) | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment