Question: solve in python Given two numbers ' a ' and ' b ', write a recursive function to check if ' b ' is a

solve in pythonsolve in python Given two numbers ' a ' and ' b

Given two numbers ' a ' and ' b ', write a recursive function to check if ' b ' is a power of ' a '. It is given that a and b are both non-negative. Input Format The first and the only line contains two space separated integers, a and b. Constraints 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!