Coding tools
Learn & compete
Community
Practice
Bit math in one expression.
Constraints
Example
>>> is_power_of_two(16) True >>> is_power_of_two(6) False
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints