Created
November 27, 2013 17:29
-
-
Save theMagicalKarp/7679728 to your computer and use it in GitHub Desktop.
A sample of the new programming music craze.
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 beeps(count, offset): | |
for x in xrange(count): | |
print '\a' | |
time.sleep(offset) | |
for n in xrange(10): | |
beeps(n, .1) | |
time.sleep(.1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment