title: Getting two characters from string in python
body: <p>how to get in python from string not one character, but two?</p>
  
  <p>I have:</p>
  
  <pre><code>long_str = 'abcd'
  for c in long_str:
     print c
  </code></pre>
  
  <p>and it gives me like</p>
  
  <pre><code>a
  b
  c
  d
  </code></pre>
  
  <p>but i need to get</p>
  
  <pre><code>ab
  cd
  </code></pre>
  
  <p>I'm new in python.. is there any way?</p>