How to handle (x,1) base case for is_power(x,y) function, where x != 1?

前端 未结 0 1645
谎友^
谎友^ 2020-12-24 07:05

Title says most of it. There is a related thread, but I do not have enough reputation to comment.

Here is the prompt:

A number, a, is a power of b if it is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题