Python Periksa apakah int antara dua nilai

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