Python and Powers Math

Operator ^ is a bitwise operator, which does bitwise exclusive or.

The power operator is **, like 8**3 which equals to 512.

Leave a Comment