adspace


Implementing pow function

Answer Posted / Irshad Ahamad

The pow(x, y) function calculates x raised to the power of y. In Python, you can use the built-in math library to implement this function:nn```pythonnimport mathndef my_pow(x, y):n return math.pow(x, y)n```

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category