**** This is a SHOW YOUR WORK question. This means after com…
**** This is a SHOW YOUR WORK question. This means after completing the problem you will need to show your work to the honorlock camera. Ensure that you hold it to the camera until it focuses, all work is visible and you hold it there for long enough that Professor Bramall can easily pause the video to read your work. Make sure to use a dark pen so that your writing comes through on the camera. Ensure that all your work is in the frame. You can show it in sections if that is easier. You will not earn more than 5 points on this question if you do not show any work. *** Find a formula for
Read Details10 points Online Editor Link (Fork this): LINK Alternatively…
10 points Online Editor Link (Fork this): LINK Alternatively, you can also use the editor here: LINK Write a function exponent(a, b) that returns a raised to the power b (ab). Your function must use recursion. You may not use loops or any of the Python’s built-in exponent features. You may assume: a will be an integer b will be an integer greater than or equal to 0 Hints: 35 == 3 * 34 x0 == 1 Example: exponent(2, 4) # should return 16 exponent(-3, 3) # should return -27 exponent(0, 12) # should return 0 exponent(14, 0) # should return 1
Read Details