What is the double multiplication sign for?

15.7k Views Asked by At

I accidentally typed 4 ** 5 into Google and received 1,024 instead of 20. But 4^5 is also 1024...

Does the double multiplication sign also mean the power sign? Why two symbols?

2

There are 2 best solutions below

0
On BEST ANSWER

Exponentiation in some software. So a**b means a^b.

0
On

Caveat: The symbol ^ in C family languages is bitwise xor. This is true in Python, too. The ** symbol is also seen in Python.