title: TypeError: cannot concatenate 'str' and 'int' objects
body: <p>I have this python program that adds strings to integers:</p>
  <pre><code>a = raw_input(&quot;Enter a: &quot;)
  b = raw_input(&quot;Enter b: &quot;)
  print &quot;a + b as strings: &quot; + a + b
  a = int(a)
  b = int(b)
  c = a + b
  str(c)
  print &quot;a + b as integers: &quot; + c
  </code></pre>
  <p>I get this error:</p>
  <pre><code>TypeError: cannot concatenate 'str' and 'int' objects
  </code></pre>
  <p>How can I add strings to integers?</p>