HTMLify
Home
Log in
Register
Dashboard
Frames
API
Q342_Power_of_Four.py
Views: 229 | Author:
djdj
def
isPowerOfTwo
(
self
,
n
):
for
i
in
range
(
0
,
31
):
if
n
==
4
**
i
:
return
1
return
0
Run >
Python
Plaintext
Share this file:
Copy
Short Link
View Raw
Download File
(95 B)
Embed Code
Clone
Comments
ubataecj
2024-04-18 16:52
555*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)
Reply(Mention)
Comment