Power Math in Python

0 votes

What is the difference between "**" operator and "^"?

when I try to print 8^3 it gives an output of 11. But for my required answer, when I print 8**3 it gives the correct answer of 512. why?

 Why is it that 8^3 does not equal 512 as it is the correct answer?