Skip to content

Instantly share code, notes, and snippets.

@cthom06
Created May 12, 2011 13:59
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 cthom06/968548 to your computer and use it in GitHub Desktop.
Save cthom06/968548 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import random, sys
def br():
c = random.randint(1,5)
if c == 5:
return chr(5)
else:
return chr(2)
while 1:
sys.stdout.write(br())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment