Multiple choice

Which of the following is the exponent operator?

  1. $
  2. ^

  3. **

  4. %

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In Python, the double asterisk (**) is the exponentiation operator used to raise a number to a power.