num = 21 zone = 2 if num & (1 << zone): print(True) else: print(False)
To embed this project on your website, copy the following code and paste it into your website's HTML: