<pre><code>print(Name + " " + Name2 + " " + "WELCOME")
</code></pre>
<p><strong>输出:</strong></p>
<pre><code>Value of Name value of name2 WELCOME
</code></pre>
<blockquote>
<p>If <strong>comma</strong>(<strong>,</strong>) is used in the place of <strong>" "</strong> it will also give the same output (<strong>as above</strong>)</p>
</blockquote>
<p>上面的代码打印<strong>名称的值<strong>和空格<strong>(“”)</strong>,然后再打印<strong>名称2</strong>和空格<strong>(“”)</strong>以及字符串<strong>“欢迎”</strong></p>
<blockquote>
<p>In the same way if you use <strong>\n</strong> in the space of <strong>" "</strong> you will get the output of the string or variable next to the <strong>\n</strong> in a new line. For example:</p>
</blockquote>
<pre><code>print(Name + "\n" + Name2 + "\n" + "WELCOME")
</code></pre>
<p><strong>输出:</strong></p>
<pre><code>Value of Name
Value of Name2
WELCOME
</code></pre>
<blockquote>
<p>In the same way if <strong>\t</strong> is used in the place of <strong>\n</strong> it will print the variable or string next to it after a <strong>tab</strong> space, like:</p>
</blockquote>
<p><strong>输出:</strong></p>
<pre><code>Value of Name Value of Name2 WELCOME
</code></pre>