You are viewing a single comment's thread. Return to all comments →
We can use print without if:
print(k-1-int((k-1|k)>n))
Seems like cookies are disabled on this browser, please enable them to open this website
Day 29: Bitwise AND
You are viewing a single comment's thread. Return to all comments →
We can use print without if: