title: Placing two strings in center of page for Python on the same line
body: <p>I wanted to place the two strings, &quot;Your name is &quot; and name variable in the center of the page but I tried using <code>.center(165)</code> and <code>rjust(165//2)</code> commands but does not seem to work.
  My code:</p>
  <pre><code>name=input(&quot;your name :&quot;.rjust(165//2))
  print(&quot;your name is &quot; + name).rjust(165//2)
  </code></pre>
  <p>which does not work</p>
  <p>what my desired outcome:</p>
  <pre><code>                                      Your name: example
                                       Your name is example
  </code></pre>