Stuck on Exercise 1.8 #3. Question is: Write a program using a for loop that calculates exponentials. Your program should ask the user for a base base and an exponent exp,
and calculate base^exp. Just not sure how to format it into a for loop. I created a script:
base = input("base: ")
expo = input("expo: ")
print base**expo
This essentially does what the exercise asks but I can't figure out how exactly to put it into a for loop.

Hey! We 've verified this expert answer for you, click below to unlock the details :)

I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!

if its for python :
base=int(raw_input("base: "))
and same process for the other variable.

Looking for something else?

Not the answer you are looking for? Search for more explanations.

## More answers

Looking for something else?

Not the answer you are looking for? Search for more explanations.