title: Why does Python not perform type conversion when concatenating strings?
body: <p>In Python, the following code produces an error:</p>
  
  <pre><code>a = 'abc'
  b = 1
  print(a + b)
  </code></pre>
  
  <p>(The error is "TypeError: cannot concatenate 'str' and 'int' objects").</p>
  
  <p>Why does the Python interpreter not automatically try using the str() function when it encounters concatenation of these types?</p>