exponent in python ^ code example
Example 1: python exponentiation
print(5 ** 3) #125
Example 2: python exponent operator
#python exponent operator
num = 2
new_num = num**2
#answer would be 4
print(5 ** 3) #125
#python exponent operator
num = 2
new_num = num**2
#answer would be 4