Created
February 20, 2012 15:09
-
-
Save thinkjson/1869605 to your computer and use it in GitHub Desktop.
Let Schrödinger's cat help you make decisions
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
| #!/usr/bin/python | |
| # inspired by http://www.thinkgeek.com/homeoffice/e9cb/ | |
| import random | |
| if random.randint(0, 1) == 0: | |
| print "Cat is dead. :(" | |
| else: | |
| print "Cat is alive! :)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment