Use a previous input while asking for input to define a new variable
<pre><code>userName = input("What is your name?")

firstInteger = (input ("Hi," , userName , "what is the first integer?"))
</code></pre>

<p>This just returns 
TypeError: input expected at most 1 arguments, got 3</p>

<p>I tried changing the userName to str(input(...)) and the userName in the firstInteger input to str(UserName), but neither working or changed the error message.</p>

<p>Here's the updated code based on the comments.</p>

<p>Also I'm not sure what version of python you're using, but older versions may require <code>raw_input</code> instead of <code>input</code>. If you're using Python 3.x, just <code>input</code> should work. Here's the updated code. Just replace <code>raw_input</code> with <code>input</code> if you are using Python 3.</p>

<pre><code>userName = raw_input("What is your name?")

firstInteger = (raw_input ("Hi," + userName + " what is the first integer?"))
</code></pre>

python variables input