Jika antara dua nilai pythpn

if 10000 <= number <= 30000:
Elated Elk