title: Syntax error using for x in range
body: <p>I'm trying to make a simple program that creates 100 words using probs.generate with for x in range (0,99), however im getting a syntax error at at for and i don't get why</p>
  
  <pre><code>x = probs.generate()
  Instance = for x in range (0, 99)
  print " ".join(Instance)
  </code></pre>
  
  <p>where probs is defined as:</p>
  
  <pre><code>raw_data = "This is a very short text. It is used as a test."
  allwords = nltk.word_tokenize(raw_data)
  freq = nltk.FreqDist(allwords)
  probs = nltk.MLEProbDist(freq)
  </code></pre>
  
  <p>and then im trying to connect the words in a list afterwards. I'm also somewhat new to python so sorry if this is a stupid question</p>