[solved]-Write Iterative Function Iterpower Base Exp Calculates Exponential Base Exp Simply Using S Q39079472
do in python, please provide screenshots

Write an iterative function iterPower (base, exp) that calculates the exponential base exp by simply using successive multiplication. For exam- ple, iterPower (base, exp) should compute basexp by multiplying base times itself exp times. Write such a function below. This function should take in two values-base can be a float or an integer; exp will be an integer > 0. It should return one numerical value. Your code must be iterative – use of the ** operator is not allowed. def iterPower (base, exp): base: int or float. exp: int >= 0 returns: int or float, base `exp # Your code here Show transcribed image text Write an iterative function iterPower (base, exp) that calculates the exponential base exp by simply using successive multiplication. For exam- ple, iterPower (base, exp) should compute basexp by multiplying base times itself exp times. Write such a function below. This function should take in two values-base can be a float or an integer; exp will be an integer > 0. It should return one numerical value. Your code must be iterative – use of the ** operator is not allowed. def iterPower (base, exp): base: int or float. exp: int >= 0 returns: int or float, base `exp # Your code here
Expert Answer
Answer to Write an iterative function iterPower (base, exp) that calculates the exponential base exp by simply using successive mu… . . .
OR

