Skip to content

Instantly share code, notes, and snippets.

@isoiphone
Last active December 18, 2015 14:09
Show Gist options
  • Save isoiphone/5794710 to your computer and use it in GitHub Desktop.
Save isoiphone/5794710 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
from random import choice
def main():
verbs = open('verbs.txt').read().split()
nouns = open('nouns.txt').read().split()
for i in xrange(100):
print '{0} the {1}'.format(choice(verbs).title(), choice(nouns).title())
if __name__ == "__main__":
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment