title: python 3 How to append number to number
body: <p>How would I append a number to the end of another number?</p>
  
  <p>for example:</p>
  
  <pre><code>a = 1
  b = 2
  a = a + b
  print(a)
  Output = 3
  </code></pre>
  
  <p>I want to get my output as 12 but instead I get 3. I understand that when you do number + number you get the addition of that but I would like to do is append b to a and so I would get 12. I have tried appending a number to a number but I get an error. I think that you can only append a list.</p>
  
  <p>My question is:
  <strong>How do I append a number to a number?</strong> </p>
  
  <p>or is there a better way of doing it?</p>