hello, pls can somebody show me a way how to solve the following exercise:
A number, a, is a power of b if it is divisible by b and a/b is a power of b.
Write a function called is_power that takes parameters a and b and returns True if a is a power of b.
I don't exactly understand the task.
I have to use just numbers which meet the conditions above? for examle if I use 3 is power of 4, the result should be false?
thank you very much
vlady