title: Formatting input prompt in python
body: <p>Is there a way to format the input field above the options?</p>
  
  <p>Currently,</p>
  
  <pre><code>abc = input('choose an option: \n 1 \n 2 \n')
  </code></pre>
  
  <p>results in:</p>
  
  <pre><code>choose an option:
  1
  2
  X
  </code></pre>
  
  <p>with X being where the input will appear. Is there any way to make it like this:</p>
  
  <pre><code>choose an option: X
  1
  2
  </code></pre>
  
  <p>so that the input appears in the first line of the prompt?</p>