You may not use the ** operator.
Drag and drop the code below to write an exponent(num, power) function that takes two arguments (a number and an exponent value) and returns the computed result. Below are a few example inputs:
>>> exponent(10, 0)
1
>>> exponent(5, 3)
125
>>> exponent(2, 10)
1024
You can reorder the blocks and drag them to different indentation levels as you wish. You may not need to use all of the provided lines.
Before you leave this page, be sure to check your answer for correctness by clicking "Get feedback" above and export your code using the "Export button." After you have exported your code, make sure you copy and paste it into the starter code file under excercise 2def exponent(num, power)