We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ab671f commit aafa41aCopy full SHA for aafa41a
1 file changed
Leetcode/Bit/leetcode-231-power-of-two.py
@@ -5,3 +5,6 @@ def isPowerOfTwo(self, n):
5
if n == 0:
6
return False
7
return n & (-n) == n
8
+if __name__ == '__main__':
9
+ solution = Solution()
10
+ print solution.isPowerOfTwo(90)
0 commit comments