Putting a variable into a string (quote)
<p>Help I can't get this to work, I am trying to put the variable age into the string but it won't load the variable properly.</p>

<p>Here is my code:</p>

<pre><code>import random
import sys
import os


age = 17
print(age)
quote = "You are" age "years old!"
</code></pre>

<p>Gives this error:</p>

<pre><code>File "C:/Users/----/PycharmProjects/hellophyton/hellophyton.py", line 9
        quote = "You are" age "years old!"
                        ^
SyntaxError: invalid syntax

Process finished with exit code 1
</code></pre>