python exponent operator
# You can use exponents in python using double stars (**)
2 ** 3 # Output: 8
9 ** 0.5 # Output: 3
4.33
6
#python exponent operator
num = 2
new_num = num**2
#answer would be 4
Thank you!
6
0
Are there any code examples left?
New code examples in category Python