Write a program entitled "Exponentation using iteration" that calculates the results of raising a base number to a given exponent using iteration.
The program should take two integers as input: the base and the exponent. Display the result using an f:string such as
[base] raised to the power of [exponent] is equal to result [result]
Also don't use a defined function (def)
The program should take two integers as input: the base and the exponent. Display the result using an f:string such as
[base] raised to the power of [exponent] is equal to result [result]
Also don't use a defined function (def)