title: Python: Can't print on one line
body: <p>I'm having difficulties displaying my results on one line in Python 2.7. My result is supposed to look as follows:</p>
  
  <pre><code>looking -&gt; look ing
  </code></pre>
  
  <p>I didn't manage to get rid of the linebreak after the variable "word".</p>
  
  <p>Does anyone have any recommendations on how to do that?</p>
  
  <pre><code>    for word in infile:
          items = re.findall('(\w+)(ing|ly|ed|ious|d|ies|ive|es)',word)
          for key in items:
              print
              print word, '-&gt;', key[0], key[1]
  </code></pre>