HTMLify
Q326_Power_of_Three.py
Views: 542 | Author: djdj
1 2 3 4 5 | def isPowerOfTwo(self, n): for i in range(0,31): if n == 3**i: return 1 return 0 |
1 2 3 4 5 | def isPowerOfTwo(self, n): for i in range(0,31): if n == 3**i: return 1 return 0 |