How do I add both a variable and a string into the same print statement? : <p>I'm trying to write a basic Python RPG for my friend, and I'm trying to make a stat generator. From what I learned in classes, I'm supposed to <code>print('Your ability score in this is ' + var1 + '.')</code></p>

<p>Here's the entire code block where I'm getting the error.</p>

<pre><code>Your elemental attack is '''+ elematk + '''.''')
</code></pre>

<p>And the error I'm getting is</p>

<pre><code>  File "/Users/data censored/Desktop/Basic RPG.py", line 24, in &lt;module&gt;
    Your elemental attack is '''+ elematk + '''.''')
TypeError: can only concatenate str (not "int") to str
</code></pre>

<p>Maybe I'm just bad at this. I looked at another answer saying that commas separate a string and a var, but that didn't work either.</p>
