Skip to content

Instantly share code, notes, and snippets.

@vext01
Created December 15, 2011 13:59
Show Gist options
  • Save vext01/1481180 to your computer and use it in GitHub Desktop.
Save vext01/1481180 to your computer and use it in GitHub Desktop.
Pub selection script
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