Pyhton zwischen

if 10000 <= number <= 30000:
    pass
Nutty Narwhal