Created
December 15, 2011 13:59
-
-
Save vext01/1481180 to your computer and use it in GitHub Desktop.
Pub selection script
This file contains 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 random | |
pubs = [ "millers", "unicorn", "phoenix", "cricketers", "cherry tree", "foundry" ] | |
rand = random.randint(0, len(pubs) -1) | |
print("We will drink at the %s" % pubs[rand]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment