2^24 = a lot :D

calculator 2^24 → 16777216

Python
2 ** 24
pow(2, 24)
math.pow(2, 24)

Example
def exp(a, b):
return (pow(a,b))

a = int(input('Enter base : '))
b = int(input('Enter exponent : '))

print(exp(a, b))

1 Like

Privacy & Terms