python check if value is between code example Example: iis betwwen in python if 10000 <= number <= 30000: pass