Q37
What is the result of 3 ** 2 ?
A.
6
B.
9
AnswerC.
1
D.
12
Answer: Option B
Solution
Answer: Option B
Solution:
The ** operator performs exponentiation, so 3 raised to the power of 2 is 9.
Python MCQs: Variable Names and Operators Chapter
Programming · Python · question 37
Q37
Answer: Option B