title: Python equivalent for batch Choice command
body: <p>I'm working on a small project in python, and after a bit of work on it I was wondering if there was a way of inputting data in python 3 which was somewhat similar to batch's choice command. Pretty much only take in one key of input and then end the input prompt.</p>
  <p>For example:</p>
  <pre><code>Choice(['Y', 'N'], &quot;Yes or No? &quot;)
  </code></pre>
  <p>Where the user could either press &quot;Y&quot; or &quot;N&quot; and the program would continue.</p>
  <p>I've done some brief surfing, but haven't found anything I can use.</p>
  <h3>Bonus:</h3>
  <p>What would be even more useful is if this &quot;choice&quot; command could except multiple characters.
  Pretty much <code>input</code> but capping the limit of characters they can input, and then immediately continuing. The latter of which is proving to be hard.</p>
  <p>Thanks in advance, Mona</p>