title: getting the cursor of the user input to be on the same line as the printed statement
body: <p>I have a program which I would like the user to input the answer on the same line as the question which is printed.</p>
  
  <p>the code looks like this:</p>
  
  <pre><code>question = 1
  number1 = 2
  number2 = 2
  
  print(question , ") " , "What is" , number1 , "+" , number2 , "? ")
  
  user_ans = int(input("")) #The Answer the user inputs to the question asked
  
  print (user_ans)
  </code></pre>
  
  <p>But the Output is: </p>
  
  <pre><code>1) What is (number1) + (number2) ?
  (the cursor goes here)
  </code></pre>
  
  <p>However how do I get the output to be this:</p>
  
  <pre><code>1) What is (number1) + (number2) ? (the cursor goes here)
  </code></pre>