Checkpoint 5.19.1.
Create a function called
exp
that takes in two parameters, num1
and num2
, and returns num1
raised to the power of num2
. For example, exp(2,3)
should return 8
.