Input+Validation+(Python)

Specification
Write a program which tests for 3 different inputs and validates them as follows:
 * a number greater than 10
 * a number between 1 and 5
 * a word with only 5 letters

Tasks
1. Write a program which asks the user to enter their password. It must validate the password, which is //**pa$$word**//.

2. Write a program which asks the user to enter the answer to a question. The only valid answers are //**yes**// or //**no**//.

3. Write a program which asks the user to enter the current temperature. Valid temperatures are between -20 and 30

Questions
1. What does this Python input validation statement accept as valid input for the variable number: while number < 0:

2. What does this Python input validation statement accept as valid input for the variable number: while number == 1 or number == 3 or number == 5 or number == 7 or number == 9:

3. What does this Python input validation statement accept as valid input for the variable number: while number <= 100 or number >= 200:

4. Why does this input validation statement not work? while number 5: