Q5
Which operator is used for exponentiation in Python?
A.
^
B.
**
AnswerC.
^^
D.
//
Answer: Option B
Solution
Answer: Option B
Solution:
The ** operator is used for exponentiation in Python.
Python MCQs: Variable Names and Operators Chapter
Programming · Python · question 5
Q5
Answer: Option B