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)