Answered step by step
Verified Expert Solution
Question
1 Approved Answer
python question 3. Function One: myPow Specification The first function you will write should be called 'myPow'. Your function should take two (2) arguments, each
python question
3. Function One: myPow Specification The first function you will write should be called 'myPow'. Your function should take two (2) arguments, each an integer. The first argument will be the base, the second argument the exponent. The function should return one (1) float that is the result of the base raised to the power of the exponent. For example, if the base is 2 and the exponent is 3, your function should return 8.0 For credit, you MUST use math.pow. That function is part of the math library, it takes two arguments and returns the first argument raised to the power of the second input. Thus, math. pow (2, 3 ) will return 8 . O. Example Test Case myPow (2, 3) 8.0Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started