how to check if a number is within a range in python code example Example: python check if number is in range if 10000 <= number <= 30000: pass