Write a program to calculate exponents of an input


Topic: Write a program to calculate exponents of an input

Solution

input = 9
exponent = 2
final = pow(input, exponent)
print(f'Exponent Value is:{final}')



List all Python Programs