Return True if n is a power of four (1, 4, 16, 64, ...). Do it without a loop.
Example 1
Input:
is_power_of_four(16)
Output:
True
Example 2
Input:
is_power_of_four(8)
Output:
False
-2**62 <= n < 2**62No results yet
Run your code to check it against the examples, or submit to run every test.