TypeError: unsupported operand type(s) for +: 'int' and 'str' when adding
<p>I'm still  very new to Python and I have been learning it at school. I've found it pretty easy up to this point but I have been completely stumped by this and can't find a solution for what is a probably really simple question.</p>

<pre><code>number = int(input("Enter a number. "))


print("If you add your number to your number in the form of an integer you get", number + number)
print("If you add your number to your number in the form of a string you get", number + str(number))
</code></pre>

<p>The goal of this code is to ask the user for a number then add that original number to an integer version of itself and again but instead of an integer, use a string.   </p>

<p>e.g. 2+2 = 4 and 2+2 = 22 </p>

<p>All it does is return the error 
"TypeError: unsupported operand type(s) for +: 'int' and 'str'" after inputting a number and the first print statement coming out correctly.</p>

<p>Thank you in advance :)</p>