Want more features on Pastebin? Sign Up, it's FREE!
Guest

T-Rex Endorsement Generator

By: a guest on Aug 19th, 2011  |  syntax: Python  |  size: 0.88 KB  |  views: 1,120  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #!/bin/python
  2. # Generates random T-Rex endorsements
  3. # http://www.qwantz.com/index.php?comic=2025
  4. # http://www.reddit.com/r/qwantzparty/comments/jnuzf/random_trex_endorsement_generator/
  5.  
  6. import random
  7.  
  8. words = [["I just can't get enough of"],
  9.          ["the", "this", "a", "your", "you"],
  10.          ["wonderful", "amazing", "valuable", "free", "proven"],
  11.          ["new", "enhanced", "improved", "guaranteed"],
  12.          ["service", "product", "lifestyle"],
  13.          ["that", "which"],
  14.          ["now", "greatly"],
  15.          ["saves", "simplifies", "complicates", "meddles in"],
  16.          ["every", "your", "society's", "your children's", "Grandma's"],
  17.          ["cooking", "bedroom", "office", "cellar", "beachhouse"],
  18.          ["performance", "results", "love", "money", "sex", "career"],
  19.          ["\b...", "\b.", "\b!", "\b?"]]
  20.  
  21. print " ".join(random.choice(word) for word in words)
clone this paste RAW Paste Data