Python while loop/range
<p>I need to ask a number from the user and have then if it is in the range of the low/high number then it returns the number and if it isnt in the range, it loops until the number entered is in the range.  I don't really know how exactly to do this but I think I have part of it right.  My main concern is the line "while question != low &lt;= question &lt;= high:"  I feel as if there is a problem with that line.</p>

<pre><code>def ask_number(question, low, high):
    question = int(raw_input("Enter a number within the range: "))
    question = ""
    while question != low &lt;= question &lt;= high:
        question = int(raw_input("Enter a number within the range: "))
</code></pre>
