How to let the user select an input from a finite list?
<p>Is it possible to ask for selection between multiple choices in Python, without an if loop?</p>
<p>Example:</p>
<pre><code>print &quot;Do you want to enter the door&quot;
raw_input (&quot;Yes or not&quot;)
</code></pre>
<p>And the user can only choose between the selections.</p>