title: Why is my program printing to only one line instead of a seperate line?
body: <p>so i'm using this snippet of code:</p>
  
  <pre><code>def print_slow(str):
      for letter in str:
      print letter,
      time.sleep(.1)
  </code></pre>
  
  <p>from this link on SO: <a href="https://stackoverflow.com/questions/4099422/print-slowly-in-python-simulate-typing?newreg=117d11c5570c472ebfce62191fb8d55f">printing slowly (Simulate typing)</a>
  and if fits my needs. However, my code so far is this:</p>
  
  <pre><code>import time
  import random
  import sys
  def print_slow(str):
     for letter in str:
     print letter,
     time.sleep(.5)
  print_slow("MEME QUEST!")
  time.sleep(.5)
  print_slow("BY XXX XXXXX")
  </code></pre>
  
  <p>But when I run this code, it prints both snippets of code on the same line. Is there any way to put them on seperate lines?</p>
  
  <p>EDIT: Adding an extra print to the print_slow function worked, thank you.</p>