Skip to content

Instantly share code, notes, and snippets.

@zanesterling
Created July 19, 2016 21:00
Show Gist options
  • Save zanesterling/63aea716d069b2b21550b349efc7fd0d to your computer and use it in GitHub Desktop.
Save zanesterling/63aea716d069b2b21550b349efc7fd0d to your computer and use it in GitHub Desktop.
things = [
"web server",
"compiler",
"operating system",
"terminal",
"shell",
"web browser",
"editor",
"file browser",
]
langs = [
"python",
"java",
"shellscript",
"js",
"golang",
"C",
"C++",
"ruby",
"R",
"D",
]
import random
thing, lang = random.choice(things), random.choice(langs)
print "write %s %s in %s" % ('an' if thing[0] in ('a', 'e', 'i', 'o', 'u') else 'a', thing, lang)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment