Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@samplereality
Created October 4, 2014 16:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samplereality/bca002567d43e51c633b to your computer and use it in GitHub Desktop.
Save samplereality/bca002567d43e51c633b to your computer and use it in GitHub Desktop.
import random
possibleKings = ['king', 'queen', 'Elvis impersonator']
possibleVerbs = ['dead', 'sleeping', 'dying', 'singing']
king = random.choice(possibleKings)
dead = random.choice(possibleVerbs)
print 'The ' + king + ' is ' + dead + '. Long live the ' + king + '.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment