Kodin Code Session Report - shiven kumar
Date: 2025-09-27 10:27:56
QUESTION
3. To write a Python program for exponentiation (power of a number). Take user input.
AIM
ALGORITHM
SOLUTIONS
File: [Link]
a = float(input("enter the base number:"))
b = float(input("enter the power to the number to execute calculation:"))
c = a**b
print(f"the exponential output of {a} to the power {b} is:{c}")
PROGRAM OUTPUT
enter the base number:3
enter the power to the number to execute calculation:4
the exponential output of 3.0 to the power 4.0 is:81.0
CONCLUSION