Write the definition of a function that takes as input the three numbers. The function returns…
Write the definition of a function that takes as input the three numbers. The function returns true if the first number to the power of the second number equals the third number; otherwise, it returns