python raise to the power code example
Example 1: exponent in python
# You can use exponents in python using double stars (**)
2 ** 3 # Output: 8
9 ** 0.5 # Output: 3
Example 2: how to you raise and item to a power in python
x = 6**2
print (x)
#six is getting raised to the power of two