Home » Backend » Python » **= (power assignment)
This /= (power assignment) assignment operator raises the variable to the power by a value and assigns the result to that variable.
/=
A **= B
Here,
Note: This is equivalent to A = A ** B
>>> a = 2 >>> a **= 10 >>> a 1024