?\n')
What is your name?
Chuck
&gt;&gt;&gt; print name
Chuck
</font></pre><font color="black">The sequence <code>\n</code> at the end of the prompt represents a <b>newline</b>,
which is a special character that causes a line break.
That's why the user's input appears below the prompt.<br />
<br />
<a name="@default86"></a><br />
<br />
If you expect the user to type an integer, you can try to convert
the return value to <tt>int</tt> using the <tt>int()</tt> function:
</font><pre><font size="4" color="blue">