top of page


Exponent Calculator


2 Medium

1.2 Arithmetic Operations


Write a program that calculates the result of raising a base number to a power. The program should prompt the user to enter the base number and the exponent.

INPUTS: Base number (float), exponent (integer)

1. Accept user input for the base number and exponent
2. Use the exponentiation operator (**) to calculate the result

OUTPUTS: Result of the exponentiation (float)

Need help with your programming skills?

If you need more help than just independent practise, then we're here for you. Book a 1:1 with us and we will be able to guide you to becoming a proficient programmer who can tackle any of the challenges an exam board can throw at you.

bottom of page