title: Python: iterate over a string containing newlines
body: <p>I have a string separated by newline characters, I need to work with each line individually. I though I would be able to iterate over by using a for loop. However this prints each character individually.  </p>
  
  <p>Example: </p>
  
  <pre><code>convo = "Bob: Hello \n Sandy: How are you? \n Bob: Confused by a python problem"
  
  for line in convo:
      print(line)
  
  &gt;&gt;&gt; B
  &gt;&gt;&gt; o
  &gt;&gt;&gt; b
  &gt;&gt;&gt; :
  </code></pre>
  
  <p>What would be the best way to do this?</p>