Q57
What is the result of 12 >> 2 ?
A.
3
AnswerB.
6
C.
12
D.
48
Answer: Option A
Solution
Answer: Option A
Solution:
The >> operator performs right shift, shifting the bits to the right.
Python MCQs: Bitwise and Boolean Operations Chapter
Programming · Python · question 57
Q57
Answer: Option A