how to know if a number is between 1 and 10 in python code example Example: python check if number is in range if 10000 <= number <= 30000: pass