Skip to content

Instantly share code, notes, and snippets.

@DeviaVir
Last active July 12, 2018 13:14
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 DeviaVir/7b009692113d555b8242e15e38125615 to your computer and use it in GitHub Desktop.
Save DeviaVir/7b009692113d555b8242e15e38125615 to your computer and use it in GitHub Desktop.
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